@extends('admin.layouts.master') @section('content')
{!! Form::model($row,[ 'method' => 'PUT', 'route' => [\App\Helpers\Helper::adminPrefix() . '.update', $row], 'name' => 'user-form', 'id' => 'user-form', 'autocomplete' => 'off' ]) !!}

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

Cancel
{!! Form::label('title', 'Title :', ['class' => 'control-label']) !!} {!! Form::text('title', old('title', $row->title), ['class' => $errors->has('title') ? 'form-control is-invalid' : 'form-control', 'id' => 'title', 'placeholder' => 'Langugage title']) !!} @if ($errors->has('title')) {{ $errors->first('title') }} @endif
{!! Form::label('slug', 'Slug :', ['class' => 'control-label']) !!} {!! Form::text('slug', old('slug', $row->slug), ['class' => 'form-control', 'id' => 'slug', 'placeholder' => 'Langugage slug']) !!}
{!! Form::label('status', 'Active :', ['class' => 'control-label']) !!}
{!! Form::radio('status', '1', ($row->active == 1 ? true : false), ['id' => 'statuson']) !!} {!! Form::label('statuson', 'Yes') !!}
{!! Form::radio('status', '0', ($row->active != 1 ? true : false), ['id' => 'statusoff']) !!} {!! Form::label('statusoff', 'No') !!}
{!! Form::close() !!}
@endsection