Skip to content

Instantly share code, notes, and snippets.

@mnshankar
Last active December 24, 2015 04:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnshankar/6747677 to your computer and use it in GitHub Desktop.
Save mnshankar/6747677 to your computer and use it in GitHub Desktop.
Form element in L4 (TBS styling)
<!-- email -->
<div class="form-group">
<?php echo Form::label('email',null,array('class'=>'col-lg-2 control-label'))?>
<div class="col-lg-4">
<?php echo Form::email('email', null,
array('class'=>'form-control', 'placeholder'=>'email'))?>
{{$errors->first('email', '<span class="alert alert-error">:message</span>')}}
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment