mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-06 21:26:58 +02:00
Pages - Meta Title #165
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<div class="form-group">
|
||||
<?php
|
||||
echo (
|
||||
Form::label('page_title', __('Title', 'pages')).
|
||||
Form::label('page_title', __('Name', 'pages')).
|
||||
Form::input('page_title', $post_title, array('class' => (isset($errors['pages_empty_title'])) ? 'form-control error-field' : 'form-control'))
|
||||
);
|
||||
if (isset($errors['pages_empty_title'])) echo Html::nbsp(3).'<span style="color:red">'.$errors['pages_empty_title'].'</span>';
|
||||
@@ -28,7 +28,7 @@
|
||||
<?php
|
||||
|
||||
echo (
|
||||
Form::label('page_name', __('Name (slug)', 'pages')).
|
||||
Form::label('page_name', __('Slug (url)', 'pages')).
|
||||
Form::input('page_name', $post_name, array('class' => (isset($errors['pages_empty_name'])) ? 'form-control error-field' : 'form-control'))
|
||||
);
|
||||
|
||||
@@ -39,6 +39,14 @@
|
||||
|
||||
</div>
|
||||
<div class="tab-pane <?php if (Notification::get('metadata')) { ?>active<?php } ?>" id="metadata">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
echo (
|
||||
Form::label('page_meta_title', __('Title', 'pages')).
|
||||
Form::input('page_meta_title', $post_meta_title, array('class' => 'form-control'))
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
echo (
|
||||
|
@@ -21,7 +21,7 @@
|
||||
<div class="form-group">
|
||||
<?php
|
||||
echo (
|
||||
Form::label('page_title', __('Title', 'pages')).
|
||||
Form::label('page_title', __('Name', 'pages')).
|
||||
Form::input('page_title', $title_to_edit, array('class' => (isset($errors['pages_empty_title'])) ? 'form-control error-field' : 'form-control'))
|
||||
);
|
||||
if (isset($errors['pages_empty_title'])) echo '<span class="error-message">'.$errors['pages_empty_title'].'</span>';
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
if (Request::get('name') !== 'error404') {
|
||||
echo (
|
||||
Form::label('page_name', __('Name (slug)', 'pages'))
|
||||
Form::label('page_name', __('Slug (url)', 'pages'))
|
||||
);
|
||||
}
|
||||
|
||||
@@ -50,6 +50,14 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="tab-pane <?php if (Notification::get('metadata')) { ?>active<?php } ?>" id="metadata">
|
||||
<div class="form-group">
|
||||
<?php
|
||||
echo (
|
||||
Form::label('page_meta_title', __('Title', 'pages')).
|
||||
Form::input('page_meta_title', $meta_title_to_edit, array('class' => 'form-control'))
|
||||
);
|
||||
?>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<?php
|
||||
echo (
|
||||
|
Reference in New Issue
Block a user