parent
def2d61ad8
commit
1097c61d6d
|
@ -1,6 +1,7 @@
|
||||||
<div component="ajax-form"
|
<div component="ajax-form"
|
||||||
option:ajax-form:url="/attachments/{{ $attachment->id }}"
|
option:ajax-form:url="/attachments/{{ $attachment->id }}"
|
||||||
option:ajax-form:method="put"
|
option:ajax-form:method="put"
|
||||||
|
option:ajax-form:response-container=".attachment-edit-container"
|
||||||
option:ajax-form:success-message="{{ trans('entities.attachments_updated_success') }}">
|
option:ajax-form:success-message="{{ trans('entities.attachments_updated_success') }}">
|
||||||
<h5>{{ trans('entities.attachments_edit_file') }}</h5>
|
<h5>{{ trans('entities.attachments_edit_file') }}</h5>
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<div component="ajax-form"
|
<div component="ajax-form"
|
||||||
option:ajax-form:url="/attachments/link"
|
option:ajax-form:url="/attachments/link"
|
||||||
option:ajax-form:method="post"
|
option:ajax-form:method="post"
|
||||||
|
option:ajax-form:response-container=".link-form-container"
|
||||||
option:ajax-form:success-message="{{ trans('entities.attachments_link_attached') }}">
|
option:ajax-form:success-message="{{ trans('entities.attachments_link_attached') }}">
|
||||||
<input type="hidden" name="attachment_link_uploaded_to" value="{{ $pageId }}">
|
<input type="hidden" name="attachment_link_uploaded_to" value="{{ $pageId }}">
|
||||||
<p class="text-muted small">{{ trans('entities.attachments_explain_link') }}</p>
|
<p class="text-muted small">{{ trans('entities.attachments_explain_link') }}</p>
|
||||||
|
|
|
@ -24,14 +24,14 @@
|
||||||
'successMessage' => trans('entities.attachments_file_uploaded'),
|
'successMessage' => trans('entities.attachments_file_uploaded'),
|
||||||
])
|
])
|
||||||
</div>
|
</div>
|
||||||
<div refs="tabs@contentLinks" class="hidden">
|
<div refs="tabs@contentLinks" class="hidden link-form-container">
|
||||||
@include('attachments.manager-link-form', ['pageId' => $page->id])
|
@include('attachments.manager-link-form', ['pageId' => $page->id])
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div refs="attachments@editContainer" class="hidden">
|
<div refs="attachments@editContainer" class="hidden attachment-edit-container">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue