@extends('admin.layouts.master') @section('css') @endsection @section('content')
{!! Form::open(array('route' => \App\Helpers\Helper::adminPrefix(). '.store', 'name' => 'user-form', 'id' => 'user-form', 'autocomplete' => 'off')) !!}

{{ __('Create') }} {{ \App\Helpers\Helper::pagePrefix(2) }}

{!! Form::label('lang_id', 'Language :', ['class' => 'control-label']) !!} {!! Form::select('lang_id', \App\Helpers\Helper::language(false), old('lang_id'), ['class' => $errors->has('lang_id') ? 'form-control is-invalid' : 'form-control', 'id' => 'role_id']) !!} @if ($errors->has('lang_id')) {{ $errors->first('lang_id') }} @endif
{!! Form::label('title', 'Title :', ['class' => 'control-label']) !!} {!! Form::text('title', old('title'), ['class' => $errors->has('title') ? 'form-control is-invalid' : 'form-control', 'id' => 'title', 'placeholder' => 'Page title']) !!} @if ($errors->has('title')) {{ $errors->first('title') }} @endif
{!! Form::label('status', 'Active :', ['class' => 'control-label']) !!}
{!! Form::radio('status', '1', old('status', true), ['id' => 'statuson']) !!} {!! Form::label('statuson', 'Yes') !!}
{!! Form::radio('status', '0', old('status', false), ['id' => 'statusoff']) !!} {!! Form::label('statusoff', 'No') !!}
{!! Form::label('description', 'Description :', ['class' => 'control-label']) !!} {!! Form::textarea('description', old('description'), ['class' => $errors->has('description') ? 'form-control is-invalid' : 'form-control', 'id' => 'description', 'placeholder' => 'Description', 'rows' => 12]) !!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif
{!! Form::close() !!}
@endsection @section('script') @endsection