@extends('dashboard::master') {{-- Autor: Giovanni López O. @gmlo_89 --}} @section('head') @stop @section('content')

{{ $title }} {{ $category->title }}

{{ Alert::render() }}
{{ trans('dashboard::label.go_back') }}
{{ Form::model($article, $formOptions) }}
{{ trans('articles::label.module_name') }}
{{ Form::text('title', null, array( "class" => "form-control required", "id" => "inputTitle", "placeholder" => trans('articles::label.title') )) }}
{{ Form::textarea('full_text', null, array( "class" => "form-control editor-html", "id" => "exampleInputContent" )) }}
{{ Form::textarea('intro_text', null, array( "class" => "form-control", "id" => "exampleIntroText", "rows" => 2 )) }}
@if(!empty($article->intro_image))
{{ trans('articles::label.show_image') }}
@endif {{ Form::file('intro_image') }}
@if(!empty($article->large_image))
{{ trans('articles::label.show_image') }}
@endif {{ Form::file('large_image') }}
{{ Form::hidden('category_id', $category->id) }}
{{ Form::select('state', $states, null, array( "class" => "form-control", "id" => "exampleInputState" )) }}
{{ Form::select('language', $languages, null, array( "class" => "form-control", "id" => "exampleInputLanguage" )) }}
@if($article->exists)
@endif
{{ Form::hidden('created_by', null, array( "class" => "", "id" => "IDCreatedBy" )) }} {{ Form::text('name_created_by', null, array( "class" => "form-control required", "id" => "inputCreatedBy" )) }}
{{ Form::text('created_by_alias', null, array( "class" => "form-control ", "id" => "inputCreatedByAlias" )) }}
{{ Form::textarea('metadesc', null, array( "class" => "form-control ", "id" => "inputMetaDescription", "rows" => 3 )) }}
{{ Form::textarea('metakey', null, array( "class" => "form-control ", "id" => "inputMetaKeywords", "rows" => 3 )) }}
{{ trans('articles::galleries.add_new') }}
{{ Form::select('_galleryItemType', $galleryTypes, null, array( "class" => "form-control", "id" => "inputGalleryType" )) }}
@foreach ($gallery_items as $item) @endforeach
{{ trans('articles::galleries.title') }} {{ trans('articles::galleries.preview') }}
{{ $item->title }} @if($item->type == 'image') @else @endif
@stop @section('scripts') {{ JavaScript::makeVar('msg_confirm_delete', trans('articles::message.confirm_delete_article')) }} {{ JavaScript::makeVar('msg_confirm_delete_item', trans('articles::galleries.confirm_delete_item')) }} @stop