<fieldset> <p class="form-control-static pull-left"> <em>[ <?php echo $project->name . ' ] [ ' . $project->customer->name . ' ]'; ?> </em></p> <br> <?php echo \Fuel\Core\Form::hidden('id', $projecttask->id); ?> <?php echo \Fuel\Core\Form::hidden('project_id', $project->id); ?> <?php echo \Fuel\Core\Form::hidden('task_status', $projecttask->task_status); ?> <br> <div class="control-group"> <?php echo Form::label('Task overview', 'project_task_description', array('class' => 'control-label input-sm')); ?> <div class="controls"> <?php echo Form::input('project_task_description', Input::post('project_task_description', isset($projecttask) ? $projecttask->project_task_description : ''), array('class' => 'col-md-4 form-control', 'placeholder' => 'Project task description', 'required' => '')); ?> </div> </div>
<br><h4>Comment</h4> <?php echo \Fuel\Core\Form::open(array()); ?> <fieldset> <div class="control-group"> <div class="controls"> <?php echo \Fuel\Core\Form::textarea('comment', '', array('class' => 'form-control', 'rows' => 2, 'cols' => 50, 'required' => '')); ?> <?php echo \Fuel\Core\Form::hidden('project_task_id', $task->id); ?> <?php echo \Fuel\Core\Form::hidden('user_id', $user_id); ?> </div> </div> <div class="control-group"> <?php echo \Fuel\Core\Form::submit('submit', 'Submit Comment', array('class' => 'btn btn-success')); ?> </div> </fieldset> <?php echo \Fuel\Core\Form::close(); ?> </td>
?> <?php echo $pass->status(); ?> <?php } ?> <td> <?php if (empty($pass->file_name)) { ?> <?php echo \Fuel\Core\Form::open(array('action' => 'admin/pass/generate/' . $pass->id, 'method' => 'POST')); ?> <?php echo \Fuel\Core\Form::hidden('cert_password_' . $pass->id, ''); ?> <?php echo \Fuel\Core\Form::submit('submit', 'Generate', array('class' => 'btn', 'onClick' => 'return generate_pkpass(' . $pass->id . ');')); ?> <?php } else { ?> <?php echo Html::anchor('admin/pass/update/' . $pass->id, 'Update', array('onclick' => "return confirm('Are you sure?')")); ?> | <?php Html::anchor('admin/pass/remove/' . $pass->id, 'Remove', array('onclick' => "return confirm('Are you sure?')")); ?> <?php }
<div class="controls"> <span class="control-label"><?php echo $val->error('group')->get_message('You must select a group'); ?> </span> </div> <?php } ?> </div> <?php if (isset($user) && $user->id > 0) { ?> <?php echo \Fuel\Core\Form::hidden('password', $user->password); ?> <?php } else { ?> <div class="control-group <?php echo !$val->error('password') ?: 'has-error'; ?> "> <label class="control-label" for="email">Password:</label> <div class="controls"> <?php echo Form::input('password', Input::post('password', isset($user) ? $user->password : ''), array('class' => 'form-control', 'placeholder' => '*****@*****.**', 'autofocus')); ?> </div>
<div class="form-group"> <?php echo \Fuel\Core\Form::label('Name', 'name', array('class' => 'control-label')); ?> <?php echo \Fuel\Core\Form::input('name', isset($comment->name) ? $comment->name : '', array('class' => 'form-control')); ?> </div> <div class="form-group"> <?php echo \Fuel\Core\Form::label('Comment', 'comment', array('class' => 'control-label')); ?> <?php echo \Fuel\Core\Form::textarea('comment', Fuel\Core\Input::post('comment', isset($comment) ? $comment->comment : ''), array('class' => 'form-control')); ?> </div> </fieldset> <div class="actions"> <?php echo \Fuel\Core\Form::hidden('message_id', isset($message) ? $message : ''); ?> <?php echo \Fuel\Core\Form::submit('submit', 'Submit', array('class' => 'btn btn-primary')); ?> </div> <?php echo \Fuel\Core\Form::close();
echo $user->id; ?> " <?php echo in_array($user->id, $project_member_id_list) ? ' checked ' : ''; ?> > <?php echo $user->username . ' [' . $user->email . ']'; ?> </label> </div> <?php } ?> <?php echo \Fuel\Core\Form::hidden('id', $project->id); ?> <br> <div class="form-group"> <label class='control-label'> </label> <?php echo Html::anchor('admin/projects/view/' . $project->id, 'Back', array('class' => 'btn btn-default')); ?> <?php echo Form::submit('submit', 'Save', array('class' => 'btn btn-primary')); ?> </div> </fieldset>
public function build_for_hidden() { $fields_output = ''; foreach ($this->field() as $f) { $fields_output .= \Fuel\Core\Form::hidden($f->name, $f->value) . PHP_EOL; } return $fields_output; }