Form Button, Reset and Submit
Buttons, Resets and Submits share the same configuration file: form_button.php
Form buttons attributes works as html buttons attributes. To learn how yo set them, please read the Html Buttons documentation page.
For convenience, submits are <button>
with type="submit"
.
Form::reset('reset', 'Reset', array('icon' => 'refresh'))
Form::submit('submit', 'Submit', array('status' => 'inverse', 'icon' => 'user'))
The
disabled()
method add css and disabled="disabled"
html attribute:
Form::button('field')->disabled()