Skip to content

Instantly share code, notes, and snippets.

@adrelliott
Created April 1, 2014 09:16
Show Gist options
  • Save adrelliott/9910726 to your computer and use it in GitHub Desktop.
Save adrelliott/9910726 to your computer and use it in GitHub Desktop.
@section('show-child-view')
{{-- Overwrites this section in parent --}}
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
{{ Former::text('order_title')->class('form-control input-sm copy-destination')->label('Order Summary')->placeholder('Add summary of order here')->label('New lable from child view') }}
</div>
<div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
{{ Former::date('order_date')->class('form-control input-sm')->label('Order Date')->value(date('Y-m-d', time()))->label('Order Date') }}
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
{{ Former::select('order_source')->class('form-control input-sm')->options($config['orderSource'])->label('Order Source') }}
</div>
</div>
@show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment