#a{:class => "form-group{{ $errors->has('title') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "title"} Titulo .col-md-12 {!! Form::text('title', null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('title')) %span.help-block %strong {{ $errors->first('title') }} - if (isset($post)) #x{:class => "form-group{{ $errors->has('uri') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "uri"} Url .col-md-12 {!! Form::text('uri', null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('uri')) %span.help-block %strong {{ $errors->first('uri') }} .row .col-md-6 #b{:class => "form-group{{ $errors->has('portada') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "portada"} Portada - if (isset($post)) %span %a.btn.btn-xs.accent{:href=>'#', "data-toggle"=>"modal", "data-target"=>"#ver", "ui-toggle-class"=>"fade-up-big" } Ver actual %i.fa.fa-eye .col-md-12 {!! Form::file('portada', null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('portada')) %span.help-block %strong {{ $errors->first('title') }} .col-md-6 #c{:class => "form-group{{ $errors->has('status') ? ' has-error' : '' }}"} %label.col-md-12.control-label{:for => "status"} Estatus .col-md-12 {!! Form::select('status', ['active'=>'active', 'inactive'=>'inactive'], null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('status')) %span.help-block %strong {{ $errors->first('status') }} #d{:class => "form-group{{ $errors->has('content1') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "content"} Titulo .col-md-12 {!! Form::textarea('content1', null, ["class"=>"form-control", "required"=>"required", 'id'=>'content1', 'rows'=>"30", 'cols'=>"80"]) !!} - if ($errors->has('content1')) %span.help-block %strong {{ $errors->first('content1') }}