FIX: fix few minor bugs
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
<form method="POST" action="{{$action}}">
|
||||
{!! csrf_field() !!}
|
||||
<input type="text" name="name" placeholder="@lang('admin/fileManager.directoryName')" class="form-control"
|
||||
<input type="text" name="name" required placeholder="@lang('admin/fileManager.directoryName')" class="form-control"
|
||||
value="{{old('name', $directory->name)}}" />
|
||||
|
||||
<textarea name="description" class="form-control" placeholder="@lang('admin/fileManager.directoryDescription')"
|
||||
rows="3">{{old('description', $directory->description)}}</textarea>
|
||||
|
||||
|
||||
@if ($parentDirectory->id)
|
||||
<input type="text" name="parentDirectory" value="{{$parentDirectory->id}}">
|
||||
<input type="hidden" name="parentDirectory" value="{{$parentDirectory->id}}">
|
||||
@endif
|
||||
|
||||
<button type="submit" class="btn btn-primary">
|
||||
@@ -17,7 +16,5 @@
|
||||
@else
|
||||
@lang('admin/fileManager.newDirectory')
|
||||
@endif
|
||||
|
||||
</button>
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user