@extends('layouts.backBase') @section('css') {!! HTML::style('//cdn.datatables.net/1.10.11/css/jquery.dataTables.min.css') !!} {!! HTML::style('css/back/panel.css') !!} {!! HTML::style('css/back/dataTable.css') !!} @stop @section('body') {!! HTML::script('js/back/custom.js') !!} @stop @section('content')

Añadir Proyecto.


Datos Nuevos

{!! Form::open(array('route'=>'panel/social/project/add', 'method'=>'POST', 'files'=>true)) !!}
{!! Form::label('year', 'Año', ['class' => 'control-label'] ) !!} {!! Form::number('year', \Carbon\Carbon::now()->year-1, ['class' => 'form-control']) !!}
{!! Form::label('category', 'Categoría', ['class' => 'control-label'] ) !!} {!! Form::select('category', $catList ,NULL, ['class' => 'form-control', 'placeholder' => 'Seleccione una...'] ) !!}
{!! Form::label('title', 'Nombre', ['class' => 'control-label'] ) !!} {!! Form::text('title', NULL, ['class' => 'form-control']) !!}
{!! Form::label('alias', 'Alias', ['class' => 'control-label'] ) !!} {!! Form::text('alias', NULL, ['class' => 'form-control','readonly']) !!}

{!! Form::label('description', 'Descripción', ['class' => 'control-label'] ) !!} {!! Form::textarea('description', NULL, ['class' => 'form-control ckeditor'] ) !!}

{!! Form::label('fundersTable', 'Búsqueda de Financiadores', ['class' => 'control-label'] ) !!} @foreach ($funderList as $funder) @endforeach
Seleccione Nombre Imagen
{!! Form::checkbox('funders[]', $funder->getId(), NULL ,['class' => 'checkFunder']) !!} {{ $funder->getName() }} @if ( $funder->getImage() ) @else Sin foto @endif
{!! Form::label('locationsTable', 'Búsqueda de Financiadores', ['class' => 'control-label'] ) !!} @foreach ($locList as $loc) @endforeach
Seleccione Nombre Imagen
{!! Form::checkbox('locations[]', $loc->getId(), NULL ,['class' => 'checkLocation']) !!} {{ $loc->getName() }} @if ( $loc->getImage() ) @else Sin foto @endif

{!! Form::label('fundersSelected', 'Financiadores seleccionados', ['class' => 'control-label'] ) !!}
{!! Form::label('locationsSelected', 'Lugares seleccionados', ['class' => 'control-label'] ) !!}

{!! Form::label('overallObjective', 'Objectivo General', ['class' => 'control-label'] ) !!} {!! Form::textarea('overallObjective', NULL, ['class' => 'form-control ckeditor'] ) !!}
{!! Form::label('specificObjective', 'Objectivo Específico', ['class' => 'control-label'] ) !!} {!! Form::textarea('specificObjective', NULL, ['class' => 'form-control ckeditor'] ) !!}

{!! Form::label('result', 'Resultados', ['class' => 'control-label'] ) !!} {!! Form::textarea('result', NULL, ['class' => 'form-control ckeditor'] ) !!}
{!! Form::submit('Guardar',['class' => 'btn btn-default']) !!} {!! Form::close() !!}
@stop @section('scripts') {!! Minify::javascript('/js/back/form.js')->withFullUrl() !!} {!! HTML::script('//cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js') !!} @stop