FEATURE #1435: few smaller UI tweaks in creating new content page
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
@lang('admin/contents.uploadTitleImage')
|
||||
</label>
|
||||
<input type="file" id="titlePhoto" name="titlePhoto" class="form-control" />
|
||||
<span class="has-error">Neplatny template</span>
|
||||
|
||||
@include('admin.snippets.hasError', ['field' => 'titlePhoto'])
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<input type="text" name="title" class="form-control slug-source"
|
||||
<input type="text" name="title" required class="form-control slug-source"
|
||||
placeholder="@lang('admin/contents.field_title')"
|
||||
value="{{old('title', $page->title)}}" />
|
||||
|
||||
|
||||
@@ -4,7 +4,10 @@
|
||||
<div class="col-lg-6">
|
||||
<ul>
|
||||
@foreach($page->files as $file)
|
||||
<li><label><input type="checkbox" name="keepAssigned[{{$file->id}}]" checked /> {{$file->original_filename}}</label></li>
|
||||
<li>
|
||||
<input type="checkbox" name="keepAssigned[{{$file->id}}]" checked />
|
||||
{{$file->original_filename}}
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@@ -15,6 +18,6 @@
|
||||
@lang('admin/contents.files')
|
||||
</label>
|
||||
|
||||
<input type="file" name="files[]" class="form-control" multiple />
|
||||
<input type="file" name="files[]" class="form-control" multiple />
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user