/** * Button template. * * @param \Orchestra\Contracts\Html\Form\Field $field * * @return string */ public function button(FieldContract $field) { $attributes = $this->html->decorate($field->get('attributes'), ['class' => 'btn']); return $this->form->button($field->get('value'), $attributes); }