?> </div> <hr /> <div class="field-row" class=""> <h4 class="panel-title cp" id="optionToggle" data-toggle="#settingFieldOptionsWrapper"> <i class="fa fa-list-ul"></i> <?php __('Options'); ?> </h4> <br /> <div id="settingFieldOptionsWrapper" class="panel-body" data-field="<?php echo isset($setting->id) ? $setting->id : ''; ?> "> <?php echo field_options(isset($setting->type) ? $setting->type : 'text', isset($setting->id) ? $setting->id : '', true); ?> </div> </div> </div> <div class="panel-footer text-right"> <?php echo isset($setting->id) ? form_hidden('id', $setting->id) : ''; ?> <a href="<?php _u('admin/settings'); ?> " class="btn btn-default btn-sm"> <i class="fa fa-arrow-circle-left"></i> <?php __('Cancel');
/** * Render Field option on select field type in Add Setting form * * @param string $type * @param integer $field_id * @param boolen $setting * @return string */ public function field_type_options($type = 'text', $field_id = "", $setting = true) { echo field_options($type, $field_id, $setting); }
<h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo"> <span class="glyphicon pull-left hidden-xs"></span> <?php __('Options'); ?> </a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse in"> <div id="fieldOptionsWrapper" class="panel-body" data-field="<?php echo isset($field->id) ? $field->id : NULL; ?> "> <?php echo field_options(isset($field->type) ? $field->type : 'text', isset($field->id) ? $field->id : NULL); ?> </div> </div> </div> </div> </div> <div class="panel-footer text-right"> <?php echo form_hidden('id', $edit_id); echo isset($fieldset) ? form_hidden('group_id', $fieldset) : ''; ?>
/** * Render Field option on select field type in Add Field form * * @param string $type * @param integer $field_id * @return string */ public function field_type_options($type = 'text', $field_id = "") { echo field_options($type, $field_id); }