FEATURE: add possibilityy to upload and assign files to content pages
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<div class="row">
|
||||
|
||||
@if(count($page->files))
|
||||
<div class="column large-6">
|
||||
<ul>
|
||||
@foreach($page->files as $file)
|
||||
<li><label><input type="checkbox" name="keepAssigned[{{$file->id}}]" checked /> {{$file->original_filename}}</label></li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="columns large-6">
|
||||
<label>
|
||||
@lang('admin/contents.files')
|
||||
|
||||
<input type="file" name="files[]" multiple />
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user