velocity admin panel bugs
This commit is contained in:
parent
79a8faa028
commit
432bb60570
|
|
@ -47,9 +47,9 @@ return [
|
|||
'category-menu' => 'Category Menu',
|
||||
],
|
||||
'contents' => [
|
||||
'title' => 'Content Pages List',
|
||||
'title' => 'Content List',
|
||||
'add-title' => 'Add Content',
|
||||
'btn-add-content' => 'Add New Content',
|
||||
'btn-add-content' => 'Add Content',
|
||||
'save-btn-title' => 'Save Content',
|
||||
'active' => 'Active',
|
||||
'inactive' => 'Inactive',
|
||||
|
|
@ -82,7 +82,7 @@ return [
|
|||
'static-description' => 'Content Description',
|
||||
],
|
||||
'datagrid' => [
|
||||
'id' => 'Content Id',
|
||||
'id' => 'Id',
|
||||
'title' => 'Title',
|
||||
'position' => 'Position',
|
||||
'status' => 'Status',
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
name="page_link"
|
||||
v-validate="'required|max:150'"
|
||||
value="{{ isset($locale) ? (old($locale)['page_link'] ?? $content->translate($locale)['page_link']) : '' }}"
|
||||
data-vv-as=""{{ __('velocity::app.admin.contents.content.page-link') }}"" />
|
||||
data-vv-as=""{{ __('velocity::app.admin.contents.content.category-slug') }}"" />
|
||||
|
||||
<span class="control-error" v-if="errors.has('page_link')">
|
||||
@{{ errors.first('page_link') }}
|
||||
|
|
@ -29,7 +29,10 @@
|
|||
$linkTarget = isset($locale) ? (old($locale)['link_target'] ?? $content->translate($locale)['link_target']) : '';
|
||||
@endphp
|
||||
|
||||
<select class="control" id="link_target" name="{{$locale}}[link_target]" value="">
|
||||
<select
|
||||
class="control"
|
||||
id="link_target"
|
||||
name="{{ isset($locale) ? $locale . '[link_target]': 'link_target' }}">
|
||||
<option value="0">
|
||||
{{ __('velocity::app.admin.contents.self') }}
|
||||
</option>
|
||||
|
|
|
|||
|
|
@ -6,12 +6,6 @@
|
|||
|
||||
@section('content')
|
||||
<div class="content">
|
||||
<div class="page-header">
|
||||
<div class="page-title">
|
||||
<h1>{{ __('velocity::app.admin.meta-data.title') }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form
|
||||
method="POST"
|
||||
@submit.prevent="onSubmit"
|
||||
|
|
@ -25,6 +19,17 @@
|
|||
|
||||
@csrf
|
||||
|
||||
<div class="page-header">
|
||||
<div class="page-title">
|
||||
<h1>{{ __('velocity::app.admin.meta-data.title') }}</h1>
|
||||
</div>
|
||||
<div class="page-action">
|
||||
<button type="submit" class="btn btn-lg btn-primary">
|
||||
{{ __('velocity::app.admin.meta-data.update-meta-data') }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<accordian :title="'{{ __('admin::app.catalog.attributes.general') }}'" :active="false">
|
||||
<div slot="body">
|
||||
<div class="control-group">
|
||||
|
|
@ -185,10 +190,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</accordian>
|
||||
|
||||
<button class="btn btn-lg btn-primary" style="margin-top: 20px">
|
||||
{{ __('velocity::app.admin.meta-data.update-meta-data') }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
@stop
|
||||
|
|
|
|||
Loading…
Reference in New Issue