@extends('layouts.admin_layout') @section('content') @auth()

Изменить Стоимость

{{ Form::open(['url' => route('periods.update', $period), 'method' => 'PATCH', 'class' => '']) }}
{{ Form::label('position', 'Позиция') }}
{{ Form::text('position', $period->position, ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('position') }} @endif
{{ Form::label('description', 'Описание') }}
{{ Form::text('description', $period->description, ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('description') }} @endif
{{ Form::label('period', 'Срок обучения') }}
{{ Form::text('period', $period->period, ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('period') }} @endif
{{ Form::label('direction_id', 'Направление подготовки') }}
{{ Form::select('direction_id', $directions, $period->direction->id, ['class' => 'form-select']) }}
@if ($errors->any()) {{ $errors->first('direction_id') }} @endif
{{ Form::label('education_form_id', 'Форма обучения') }}
{{ Form::select('education_form_id', $educationForms, $period->educationForm->id, ['class' => 'form-select']) }}
@if ($errors->any()) {{ $errors->first('education_form_id') }} @endif
{{ Form::submit('Изменить', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@endauth @endsection