.row .col-md-6 #z{:class => "form-group{{ $errors->has('name') ? ' has-error' : '' }}"} %label.col-md-12.control-label{:for => "name"} Nombre .col-md-12 {!! Form::text('name', null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('name')) %span.help-block %strong {{ $errors->first('name') }} .col-md-6 #z{:class => "form-group{{ $errors->has('slug') ? ' has-error' : '' }}"} %label.col-md-12.control-label{:for => "slug"} Slug .col-md-12 {!! Form::text('slug', null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('slug')) %span.help-block %strong {{ $errors->first('slug') }} .row .col-md-6 #a{:class => "form-group{{ $errors->has('active') ? ' has-error' : '' }}"} %label.col-md-12.control-label{:for => "active"} Estado .col-md-12 {!! Form::select('active', [true=>'Activo', false=>'Inactivo'], null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('active')) %span.help-block %strong {{ $errors->first('active') }} .col-md-6 #b{:class => "form-group{{ $errors->has('product_category_id') ? ' has-error' : '' }}"} %label.col-md-12.control-label{:for => "product_category_id"} Categoria .col-md-12 {!! Form::select('product_category_id', $categorias, null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('product_category_id')) %span.help-block %strong {{ $errors->first('product_category_id') }} .row .col-md-12 #c{:class => "form-group{{ $errors->has('description') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "description"} Descripción .col-md-12 {!! Form::textarea('description', null, ["class"=>"form-control", "required"=>"required", 'id'=>'description', 'rows'=>"5", 'cols'=>"80"]) !!} - if ($errors->has('description')) %span.help-block %strong {{ $errors->first('description') }} .row .col-md-6 #d{:class => "form-group{{ $errors->has('specifications') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "specifications"} Especificaciones .col-md-12 {!! Form::textarea('specifications', null, ["class"=>"form-control", 'id'=>'specifications', 'rows'=>"10", 'cols'=>"80"]) !!} - if ($errors->has('specifications')) %span.help-block %strong {{ $errors->first('specifications') }} .col-md-6 #e{:class => "form-group{{ $errors->has('aspects') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "aspects"} Aspectos técnicos .col-md-12 {!! Form::textarea('aspects', null, ["class"=>"form-control", 'id'=>'aspects', 'rows'=>"10", 'cols'=>"80"]) !!} - if ($errors->has('aspects')) %span.help-block %strong {{ $errors->first('aspects') }}