@extends('layouts.admin') @section('content')
Proyectos > Editar > {{ $content->name }}
@if ($errors->any())
Por favor corrige los errores debajo:
@endif
Editar Proyecto

{!! Form::model($content, ['route' => ['projects.update', $content->id], 'method' => 'PUT', 'files' => true]) !!}
{!! Form::label('name', 'Nombre:') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::label('language', 'Idioma:') !!} {!! Form::select('language', getLanguages(), null, ['class' => 'form-control', 'disabled']) !!}
{!! Form::label('title', 'Titulo:') !!} {!! Form::text('title', null, ['class' => 'form-control', 'required']) !!} @if ($errors->has('title')) {{ $errors->first('title') }} @endif
{!! Form::label('slug', 'Slug (URL):') !!} {!! Form::text('slug', null, ['class' => 'form-control', 'required']) !!} @if ($errors->has('slug')) {{ $errors->first('slug') }} @endif
{!! Form::label('meta_description', 'Meta Descripción (SEO):') !!} {!! Form::text('meta_description', null, ['class' => 'form-control', 'required']) !!} @if ($errors->has('meta_description')) {{ $errors->first('meta_description') }} @endif
{!! Form::label('status', 'Estatus:') !!} {!! Form::select('status', getStatus(), null, ['class' => 'form-control']) !!}
{!! Form::label('caption', 'Subtitulo:') !!} {!! Form::text('caption', null, ['class' => 'form-control', 'required']) !!} @if ($errors->has('caption')) {{ $errors->first('caption') }} @endif
{!! Form::label('short_description', 'Descripción Corta:') !!} {!! Form::text('short_description', null, ['class' => 'form-control', 'required']) !!} @if ($errors->has('short_description')) {{ $errors->first('short_description') }} @endif
{!! Form::label('description', 'Descripción:') !!} {!! Form::textarea('description', null, ['class' => 'form-control ckeditor', 'required']) !!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif
{!! Form::label('description_2', 'Descripción 2:') !!} {!! Form::textarea('description_2', null, ['class' => 'form-control ckeditor', 'required']) !!} @if ($errors->has('description_2')) {{ $errors->first('description_2') }} @endif

{!! Form::close() !!}
@endsection