Skip to content

Instantly share code, notes, and snippets.

@mnshankar mnshankar/l4.formfield.php
Last active Dec 24, 2015

What would you like to do?
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>')}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.