Skip to content

Instantly share code, notes, and snippets.

@Naoray
Created November 19, 2017 11:57
Show Gist options
  • Save Naoray/bbdc8ea0722b7c0e8570030af7c3a9ef to your computer and use it in GitHub Desktop.
Save Naoray/bbdc8ea0722b7c0e8570030af7c3a9ef to your computer and use it in GitHub Desktop.
<!-- Phone -->
<div class="form-group" :class="{'has-error': form.errors.has('phone')}">
<label class="col-md-4 control-label">Phone</label>
<div class="col-md-6">
<input type="phone" class="form-control" name="phone" v-model="form.phone">
<span class="help-block" v-show="form.errors.has('phone')">
@{{ form.errors.get('phone') }}
</span>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment