Exemplo n.º 1
0
 /**
  * Close the current form.
  *
  * @return string
  */
 public function close()
 {
     if (!$this->access) {
         return;
     }
     return parent::close();
 }
Exemplo n.º 2
0
 /**
  * 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;
 }
Exemplo n.º 3
0
    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());
    }
Exemplo n.º 4
0
 /**
  * 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();
 }
Exemplo n.º 6
0
 /**
  * @param Form $form
  * @return string
  */
 public function formClose(Form $form)
 {
     $this->formData = [];
     return $this->builder->close();
 }
Exemplo n.º 7
0
 /**
  * Close the current form.
  *
  * @return string
  */
 public function close()
 {
     return $this->form->close();
 }
Exemplo n.º 8
0
 /**
  * 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();
 }