samedi 23 juillet 2016

Laravel5.1: hide a portion of code form view

Here I've a portion of code which I don't want to show in the user interface.

<div class="form-group">
     <label for="customer_id" class="col-sm-4 control-label"></label>
     <div class="col-sm-8">
          {!! Form::select('customer_id', $customer, Input::old('customer_id'), array('class' => 'form-control')) !!}
     </div>
</div>

I want this section to be hidden. Laravel form has form::hidden() method to do this but how can I apply this in my form::select() method. Thanks in advance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire