@extends('layouts.app') @section('content')

@lang('modulesmanagement::global.modules-management.title')

{!! Form::model($modules_management, ['method' => 'PUT', 'route' => ['admin.modules_managements.update', $modules_management->id]]) !!}
@lang('global.app_edit')
{!! Form::label('name', trans('modulesmanagement::global.modules-management.fields.name').'*', ['class' => 'control-label']) !!} {!! Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => '', 'required' => '']) !!}

@if($errors->has('name'))

{{ $errors->first('name') }}

@endif
{!! Form::label('slug', trans('modulesmanagement::global.modules-management.fields.slug').'*', ['class' => 'control-label']) !!} {!! Form::text('slug', old('slug'), ['class' => 'form-control', 'placeholder' => '', 'required' => '']) !!}

@if($errors->has('slug'))

{{ $errors->first('slug') }}

@endif
{!! Form::label('type', trans('modulesmanagement::global.modules-management.fields.type').'*', ['class' => 'control-label']) !!} {!! Form::select('type', $enum_type, old('type'), ['class' => 'form-control select2', 'required' => '']) !!}

@if($errors->has('type'))

{{ $errors->first('type') }}

@endif
{!! Form::label('enabled', trans('modulesmanagement::global.modules-management.fields.enabled').'*', ['class' => 'control-label']) !!} {!! Form::select('enabled', $enum_enabled, old('enabled'), ['class' => 'form-control select2', 'required' => '']) !!}

@if($errors->has('enabled'))

{{ $errors->first('enabled') }}

@endif
{!! Form::label('description', trans('modulesmanagement::global.modules-management.fields.description').'', ['class' => 'control-label']) !!} {!! Form::textarea('description', old('description'), ['class' => 'form-control editor', 'placeholder' => '']) !!}

@if($errors->has('description'))

{{ $errors->first('description') }}

@endif
{!! Form::submit(trans('global.app_update'), ['class' => 'btn btn-danger']) !!} {!! Form::close() !!} @stop @section('javascript') @parent @include('admin.common.standard-ckeditor') @stop