1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 02:10:37 +02:00

UI Improvements - Admin Default Theme - Updates #194

This commit is contained in:
Awilum
2014-02-18 00:45:31 +02:00
parent ac3c4e6ac8
commit e449381555
11 changed files with 48 additions and 57 deletions

View File

@@ -16,21 +16,20 @@
if (isset($errors['snippets_exists'])) echo '<span class="error-message">'.$errors['snippets_exists'].'</span>';
?>
<br>
<div class="margin-top-2em margin-bottom-2em">
<?php
echo (
Form::label('content', __('Snippet content', 'snippets')).
Form::textarea('content', $content, array('style' => 'width:100%;height:400px;', 'class'=>'source-editor form-control'))
);
?>
</div>
<?php
echo (
Html::br(2).
Form::submit('add_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
Form::submit('add_snippets', __('Save', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
Html::anchor(__('Cancel', 'snippets'), 'index.php?id=snippets', array('title' => __('Cancel', 'snippets'), 'class' => 'btn btn-default')).
Form::close()
);
?>
?>