@extends('layouts.admin') @section('title',__('adminstaticwords.EditGenre').''." - $genre->name") @section('content')

@can('genre.view') reply @endcan {{__('adminstaticwords.EditGenre')}}

{!! Form::model($genre, ['method' => 'PATCH', 'action' => ['GenreController@update', $genre->id],'files' => true]) !!}
{!! Form::label('name', __('adminstaticwords.Name')) !!} {!! Form::text('name', old('name'), ['class' => 'form-control', 'required' => 'required']) !!} {{ $errors->first('name') }}
{!! Form::label('image', __('adminstaticwords.GenreImage')) !!} {!! Form::file('image', ['class' => 'input-file', 'id'=>'image']) !!}

{{__('adminstaticwords.ChooseCustomImage')}}

{{ $errors->first('image') }}
{!! Form::close() !!}
@endsection