/** * Close the current form. * * @return string */ public function close() { if (!$this->access) { return; } return parent::close(); }
/** * Render the form for a given action or the default form. * * @param string $action * @param array $attributes * * @return string */ public function render($action = null, array $attributes = array()) { $renderer = $this->getRenderer(); $html = $this->open($action, $attributes); $html .= $renderer->render($this->getFields()); $html .= $this->builder->close(); return $html; }
public function close() { return sprintf('<div class="form-group"> <button type="submit" class="btn btn-success btn-block btn-loading" data-loading="<span class=\'glyphicon glyphicon-refresh spinning\'></span>">حفظ </button> </div>%s', parent::close()); }
/** * Close the current form. * * @return string * @static */ public static function close() { return \Illuminate\Html\FormBuilder::close(); }
/** * Close the current form. * * @return string */ public function close() { $this->session->put('formhelper-required-fields', $this->requiredFields); return parent::close(); }
/** * @param Form $form * @return string */ public function formClose(Form $form) { $this->formData = []; return $this->builder->close(); }
/** * Close the current form. * * @return string */ public function close() { return $this->form->close(); }
/** * Close the current form. * * @return \Illuminate\Support\HtmlString */ public function close() { return new HtmlString(parent::close()); }
/** * Closes form and reset $this->rules * * @see Illuminate\Html\FormBuilder */ public function close() { $this->resetValidation(); return parent::close(); }