<h4><?php _e("Which roles can upload attachments", mmg()->domain); ?> </h4> <?php $form = new IG_Active_Form($model); $form->open(array("attributes" => array("class" => "form-horizontal"))); ?> <input type="hidden" name="<?php echo $form->build_name('allow_attachment'); ?> []" value=""> <table class="table table-condensed table-hover"> <thead> <tr> <th><?php _e("Role name", mmg()->domain); ?> </th> <th><?php _e("Can upload", mmg()->domain); ?> </th> </tr> </thead> <tbody> <?php $roles = get_editable_roles(); foreach ($roles as $key => $role) { ?> <?php