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

Создать пункт Экрана приема

{{ Form::open(['url' => route('admin-reception-screen.store'), 'method' => 'POST', 'class' => '']) }}
{{ Form::label('position', 'Позиция') }}
{{ Form::text('position', '', ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('position') }} @endif
{{ Form::label('name', 'Название') }}
{{ Form::text('name', '', ['class' => 'form-control']) }}
@if ($errors->any()) {{ $errors->first('name') }} @endif
{{ Form::submit('создать', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@foreach($receptionScreens as $receptionScreen) @endforeach
Позиция Название
{{ $receptionScreen->position }} {{ $receptionScreen->name }}
@endauth @endsection