34 lines
1.3 KiB
Smarty
34 lines
1.3 KiB
Smarty
<?php
|
|
// don't forget about this for custom templates, or errors will not show for server-side validation
|
|
// $zf_error is automatically created by the library and it holds messages about SPAM or CSRF errors
|
|
// $error is the name of the variable used with the set_rule method
|
|
echo (isset($zf_error) ? $zf_error : (isset($error) ? $error : ''));
|
|
?>
|
|
|
|
<div class="col-lg-4">
|
|
|
|
<div class="row">
|
|
<div class="cell"><?php echo $label_name . $name?></div>
|
|
<div class="cell"><?php echo $label_email . $email?></div>
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
<div class="cell"><?php echo $my_file_upload . $upload?></div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<!-- on the same row, but beneath the email and the password fields,
|
|
we place the "remember me" checkbox and attached label -->
|
|
<div class="cell"><?php echo $label_password . $password?></div>
|
|
<div class="cell"><?php echo $label_confirm_password . $confirm_password?></div>
|
|
</div>
|
|
|
|
|
|
<!-- the submit button goes in the last row; notice the "even" class which
|
|
is used to highlight even rows differently from the odd rows; also, notice
|
|
the "last" class which removes the bottom border which is otherwise present
|
|
for any row -->
|
|
<div class="row even last"><?php echo $btnsubmit?></div>
|
|
|
|
</div> |