Ejemplo n.º 1
0
 public function display_stage_1()
 {
     echo X::form(array('class' => 'form-horizontal', 'method' => 'post'), X::fieldset(X::legend('1'), X::div(array('class' => 'form-group row'), X::label(array('class' => 'col-sm-4 control-label'), 'Manga URL'), X::div(array('class' => 'col-sm-8 controls'), X::input(array('type' => 'text', 'class' => 'form-control', 'name' => 'base', 'value' => @$this->base)))), X::div(array('class' => 'form-group row'), X::label(array('class' => 'col-sm-4 control-label'), 'Prefix'), X::div(array('class' => 'col-sm-4 controls'), X::input(array('type' => 'text', 'class' => 'form-control', 'name' => 'prefix', 'value' => @$this->prefix)))), $this->enable_single_chapter ? X::div(array('class' => 'form-group row'), X::label(array('class' => 'col-sm-4 control-label'), 'Infix'), X::div(array('class' => 'col-sm-4 controls'), X::input(array('type' => 'text', 'class' => 'form-control', 'name' => 'singlefix', 'value' => @$this->singlefix)), X::p(array('class' => 'help-block'), 'only for single chapter'))) : '', X::div(array('class' => 'col-md-offset-4'), X::button(array('class' => 'btn btn-primary', 'type' => 'submit', 'name' => 'stage1'), 'Submit'))));
 }