@extends('layouts.admin-layout') @section('content') @auth()

Изменить учебное заведение

{{ Form::model($educationalInstitution, ['route' => ['educational_institutions.update', $educationalInstitution], 'method' => 'PATCH', 'class' => '']) }}
{{ Form::label('position', 'Позиция') }}
{{ Form::text('position', $educationalInstitution->position, ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('position') }} @endif
{{ Form::label('name', 'Название') }}
{{ Form::text('name', $educationalInstitution->name, ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('name') }} @endif
{{ Form::label('description', 'Описание') }}
{{ Form::text('description', $educationalInstitution->description, ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('description') }} @endif
{{ Form::label('slug', 'URL') }}
{{ Form::text('slug', $educationalInstitution->slug, ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('slug') }} @endif
{{ Form::submit('Изменить', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@endauth @endsection