.row .col-md-6 #a{:class => "form-group{{ $errors->has('title') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "title"} Título .col-md-12 {!! Form::text('title', null, ["class"=>"form-control", "required"=>"required", "id"=>"first"]) !!} - if ($errors->has('title')) %span.help-block %strong {{ $errors->first('title') }} .col-md-6 #x{:class => "form-group{{ $errors->has('slug') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "slug"} URL Slug .col-md-12 {!! Form::text('slug', null, ["class"=>"form-control", "required"=>"required", "id"=>"second"]) !!} - if ($errors->has('slug')) %span.help-block %strong {{ $errors->first('slug') }} .row .col-md-6 #b{:class => "form-group{{ $errors->has('cover') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "cover"} 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('cover', null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('cover')) %span.help-block %strong {{ $errors->first('cover') }} #qq{:class => "form-group{{ $errors->has('tags') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "tags"} Etiquetas .col-md-12 {!! Form::select('tags[]', $tags, isset($post->tags) ? explode(",",$post->tags) : null, ["class"=>"form-control", "required"=>"required", "id"=>"tags", "multiple"=>"multiple"]) !!} - if ($errors->has('tags')) %span.help-block %strong {{ $errors->first('tags') }} %br %br Fecha de publicación {!! Form::text('publication_date', null, ["class"=>"form-control", "required"=>"required", "id"=>"publication_date"]) !!} - if ($errors->has('publication_date')) %span.help-block %strong {{ $errors->first('publication_date') }} .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', [1=>'Activo', 2=>'Inactivo'], null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('status')) %span.help-block %strong {{ $errors->first('status') }} #c{:class => "form-group{{ $errors->has('category_id') ? ' has-error' : '' }}"} %label.col-md-12.control-label{:for => "category_id"} Categoria .col-md-12 {!! Form::select('category_id', $categories, null, ["class"=>"form-control", "required"=>"required"]) !!} - if ($errors->has('category_id')) %span.help-block %strong {{ $errors->first('category_id') }} #d{:class => "form-group{{ $errors->has('body') ? ' has-error' : '' }} "} %label.col-md-12.control-label{:for => "body"} Contenido .col-md-12 {!! Form::textarea('body', null, ["class"=>"form-control", "required"=>"required", 'id'=>'body', 'rows'=>"30", 'cols'=>"80"]) !!} - if ($errors->has('body')) %span.help-block %strong {{ $errors->first('body') }}