1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-11 07:34:36 +02:00

Pages Plugin: add tags field #4

This commit is contained in:
Awilum
2014-02-17 20:42:38 +02:00
parent 9fc9843639
commit a242cd8804
3 changed files with 58 additions and 14 deletions

View File

@@ -13,7 +13,7 @@
<li <?php if (Notification::get('settings')) { ?>class="active"<?php } ?>><a href="#settings" data-toggle="tab"><?php echo __('Settings', 'pages'); ?></a></li>
</ul>
<div class="tab-content tab-page">
<div class="tab-content tab-page margin-bottom-1em">
<div class="tab-pane <?php if (Notification::get('page')) { ?>active<?php } ?>" id="page">
<div class="form-group">
<?php
@@ -102,13 +102,30 @@
</div>
</div>
<br>
<div class="row margin-bottom-1em">
<div class="col-xs-12">
<?php Action::run('admin_editor', array(Html::toText($post_content))); ?>
</div>
</div>
<?php Action::run('admin_editor', array(Html::toText($post_content))); ?>
<div class="row margin-top-1em">
<div class="col-xs-12">
<div class="form-group">
<div class="input-group">
<?php
echo (
Form::input('page_tags', $post_tags, array('class' => 'form-control'))
);
?>
<span class="input-group-addon add-on">
<?php echo __('Tags', 'pages'); ?>
</span>
</div>
</div>
</div>
</div>
<br>
<div class="row">
<div class="row margin-top-1em">
<div class="col-xs-6">
<?php
echo (
@@ -129,4 +146,4 @@
</div>
<?php echo Form::close(); ?>
</div>
</div>
</div>