php-censor/PHPCI/View/UserForm.phtml

18 lines
493 B
PHTML
Raw Normal View History

2013-05-10 17:25:51 +02:00
<div id="title">
<h1><?php print $type == 'add' ? 'Add User' : 'Edit ' . $user->getName() ?></h1>
2013-05-10 17:25:51 +02:00
</div>
<div class="row">
<div class="col-lg-4">
2013-05-10 17:25:51 +02:00
<div class="well" style="">
<?php if($type == 'add'): ?>
<p style="margin-bottom:0;">Fill in the form to the right to add a new user.</p>
2013-05-10 17:25:51 +02:00
<?php else: ?>
<p style="margin-bottom:0;">Edit user details using the form to the right.</p>
2013-05-10 17:25:51 +02:00
<?php endif; ?>
</div>
</div>
<div class="col-lg-8">
<?php print $form; ?>
2013-05-10 17:25:51 +02:00
</div>
</div>