@extends('layouts.web') @section('page-title', "Crear contenido") @section('content')
{!! Form::open(['route' => 'content.storeNew', 'files' => true, 'id' => 'user-form']) !!}
{{Form::label($nameInput, $nameObj,['class'=>'control-label'])}} {{Form::select($nameInput,(['' => '---Seleccionar Opción---'] + $categories), null,['id'=>$nameInput,'class' => 'form-control' ])}} @if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif
{{Form::label($nameInput, $nameObj,['class'=>'control-label datepicker','data-provide'=>'datepicker'])}} {{Form::text($nameInput, date('Y-m-d'), ['id'=>$nameInput,'placeholder'=>$nameObj,'class'=>'form-control datepicker' ])}} @if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif
{{Form::label($nameInput, $nameObj,['class'=>'control-label'])}} {{Form::text($nameInput, '', ['id'=>$nameInput,'placeholder'=>$nameObj,'class'=>'form-control' ])}} @if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif
{{Form::label($nameInput, $nameObj,['class'=>'control-label'])}} {{Form::text($nameInput, Auth::user()->name, ['id'=>$nameInput,'placeholder'=>$nameObj,'class'=>'form-control'])}} @if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif
{{Form::label($nameInput, $nameObj,['class'=>'control-label'])}} {{Form::textarea($nameInput, '', ['id'=>$nameInput,'placeholder'=>$nameObj,'class'=>'form-control file-path validate'])}} @if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif
{{--
{{Form::label($nameInput, $nameObj,['class'=>'control-label'])}}
--}}
{{$nameObj}} {{Form::file($nameInput , ['id'=>$nameInput,'placeholder'=>$nameObj,'class'=>'form-control'])}}
@if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif


{!! Form::close() !!}
@include('partials.modal') @stop @section('scripts') @include('partials.tinymce') @include('partials.scripts') @stop