@extends('backend.layouts.app') @section('title', __('labels.backend.rates.title') . ' | ' . app_name()) @push('after-styles') @endpush @section('content') {!! Form::model($rate, ['method' => 'PUT', 'route' => ['admin.rates.update', "rate"=> $rate->id],'files' => true]) !!}

@lang('labels.backend.rates.edit')

{{-- rate title --}}
{{ html()->label(__('labels.backend.impact.fields.impact_title_ar'))->class('col-md-2 form-control-label')->for('impact_title') }}
{!! Form::text('title_ar', old('title_ar'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.tests.fields.title_ar')]) !!}
{{-- --}}
{{ html()->label(__('labels.backend.impact.fields.impact_title'))->class('col-md-2 form-control-label')->for('rate_title_ar') }}
{!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => trans('labels.backend.tests.fields.title')]) !!}
{{-- --}} {{-- --}}
{{ html()->label(__('labels.backend.rates.fields.type'))->class('col-md-2 form-control-label')->for('impact_title_ar') }}
{{-- --}}
{!! Form::hidden('published', 0) !!} {!! Form::checkbox('published', 1, $rate->published == 1, ['id' => 'published']) !!} {!! Form::label('published', trans('labels.backend.tests.fields.published'), ['class' => 'control-label font-weight-bold']) !!}
{{-- --}}
{{ form_cancel(route('admin.group.rates'), __('buttons.general.cancel')) }}
{{ html()->form()->close() }} @endsection @push('after-scripts') @endpush