<?php echo $formelem->email(array('id' => 'email', 'name' => 'email', 'placeholder' => 'email', 'class' => 'form-control', 'value' => '', 'required' => '')); ?> </div> <div class="form-group"> <label>Username</label> <br /> <?php echo $formelem->username(array('id' => 'username', 'name' => 'username', 'placeholder' => 'username', 'class' => 'form-control', 'value' => '', 'minlength' => '2', 'required' => '')); ?> </div> <div class="form-group"> <label>Brand name</label> <br /> <?php echo $formelem->brandname(array('id' => 'brandname', 'name' => 'brandname', 'placeholder' => 'brandname', 'class' => 'form-control', 'value' => '', 'minlength' => '2', 'required' => '')); ?> </div> <div class="form-group pw"> <label>Password</label> <br /> <?php echo $formelem->brandname(array('id' => 'password', 'name' => 'password', 'placeholder' => 'Password', 'class' => 'form-control', 'minlength' => '4', 'required' => '')); ?> </div> <div class="form-group"> <label>Is admin?</label> <br /> <?php echo $formelem->checkbox(array('id' => 'isAdmin', 'name' => 'isAdmin', 'class' => '', 'value' => '0')); ?>