@extends('layouts.app') @section('template_title') {{ trans('titles.adminThemesAdd') }} @endsection @section('template_fastload_css') @endsection @section('content')
{{ trans('titles.adminThemesAdd') }} Back
{!! Form::open(array('action' => 'ThemesManagementController@store', 'method' => 'POST', 'role' => 'form')) !!} {!! csrf_field() !!}
{!! Form::label('status', trans('themes.statusLabel') , array('class' => 'col-md-3 control-label')); !!}
@if ($errors->has('status')) {{ $errors->first('status') }} @endif
{!! Form::label('name', trans('themes.nameLabel') , array('class' => 'col-md-3 control-label')); !!}
{!! Form::text('name', old('name'), array('id' => 'name', 'class' => 'form-control', 'placeholder' => trans('themes.namePlaceholder'))) !!}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{!! Form::label('link', trans('themes.linkLabel'), array('class' => 'col-md-3 control-label')); !!}
{!! Form::text('link', old('link'), array('id' => 'link', 'class' => 'form-control', 'placeholder' => trans('themes.linkPlaceholder'))) !!}
@if ($errors->has('link')) {{ $errors->first('link') }} @endif
{!! Form::label('notes', trans('themes.notesLabel') , array('class' => 'col-md-3 control-label')); !!}
{!! Form::textarea('notes', old('notes'), array('id' => 'notes', 'class' => 'form-control', 'placeholder' => trans('themes.notesPlaceholder'))) !!}
@if ($errors->has('notes')) {{ $errors->first('notes') }} @endif
{!! Form::button(' ' . trans('themes.btnAddTheme'), array('class' => 'btn btn-success btn-flat margin-bottom-1 pull-right','type' => 'submit', )) !!} {!! Form::close() !!}
@endsection @section('footer_scripts') @include('scripts.toggleStatus') @endsection