phpci/PHPCI/View/UserForm.phtml
2014-01-28 23:27:39 +02:00

21 lines
553 B
PHTML

<div id="title">
<h1><?php print $type == 'add' ? 'Add User' : 'Edit ' . htmlspecialchars($user->getName()) ?></h1>
</div>
<div class="row">
<div class="col-lg-4">
<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>
<?php else: ?>
<p style="margin-bottom:0;">Edit user details using the form to the right.</p>
<?php endif; ?>
</div>
</div>
<div class="col-lg-8">
<div class="box">
<?php print $form; ?>
</div>
</div>
</div>