FEATURE #2048: another work done on permissions
This commit is contained in:
@@ -4,25 +4,30 @@
|
||||
class="col-lg-4 col-lg-offset-4 col-md-6 col-md-offset-3 col-sm-12 title-photo text-center">
|
||||
<input type="hidden" id="existingTitlePhoto" value="{{$page->titlePhoto}}" name="existingTitlePhoto">
|
||||
<p><img src="@thumbnail($page->titlePhoto)" alt="" /></p>
|
||||
<p>
|
||||
<a href="javascript:void(0)" id="removeTitlePhoto" class="btn btn-warning" data-toggle="tooltip"
|
||||
title="@lang('admin/contents.deleteTitlePhoto')"><i
|
||||
class="fa fa-trash"></i></a>
|
||||
</p>
|
||||
@can('upload', \App\Models\FileManager\File::class)
|
||||
<p>
|
||||
<a href="javascript:void(0)" id="removeTitlePhoto" class="btn btn-warning" data-toggle="tooltip"
|
||||
title="@lang('admin/contents.deleteTitlePhoto')"><i
|
||||
class="fa fa-trash"></i></a>
|
||||
</p>
|
||||
@endcan
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<label class="control-label">
|
||||
@lang('admin/contents.uploadTitleImage')
|
||||
</label>
|
||||
<input type="file" id="titlePhotoFile" accept=".jpg,.jpeg,.png" name="titlePhotoFile" class="form-control" />
|
||||
@can('upload', \App\Models\FileManager\File::class)
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<label class="control-label">
|
||||
@lang('admin/contents.uploadTitleImage')
|
||||
</label>
|
||||
<input type="file" id="titlePhotoFile" accept=".jpg,.jpeg,.png" name="titlePhotoFile"
|
||||
class="form-control" />
|
||||
|
||||
@include('admin.snippets.hasError', ['field' => 'titlePhotoFile'])
|
||||
@include('admin.snippets.hasError', ['field' => 'titlePhotoFile'])
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endcan
|
||||
|
||||
@if (count($templates))
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user