Documentation ¶
Index ¶
- type Form
- func (f Form) CheckboxTag(opts tags.Options) *tags.Tag
- func (f Form) FileTag(opts tags.Options) *tags.Tag
- func (f Form) HiddenTag(opts tags.Options) *tags.Tag
- func (f Form) InputTag(opts tags.Options) *tags.Tag
- func (f Form) RadioButton(opts tags.Options) *tags.Tag
- func (f Form) RadioButtonTag(opts tags.Options) *tags.Tag
- func (f Form) SelectTag(opts tags.Options) *tags.Tag
- func (f Form) TextArea(opts tags.Options) *tags.Tag
- func (f Form) TextAreaTag(opts tags.Options) *tags.Tag
- type FormFor
- func (f FormFor) CheckboxTag(field string, opts tags.Options) *tags.Tag
- func (f FormFor) FileTag(field string, opts tags.Options) *tags.Tag
- func (f FormFor) HiddenTag(field string, opts tags.Options) *tags.Tag
- func (f FormFor) InputTag(field string, opts tags.Options) *tags.Tag
- func (f FormFor) RadioButton(field string, opts tags.Options) *tags.Tag
- func (f FormFor) RadioButtonTag(field string, opts tags.Options) *tags.Tag
- func (f FormFor) SelectTag(field string, opts tags.Options) *tags.Tag
- func (f FormFor) SubmitTag(value string, opts tags.Options) *tags.Tag
- func (f FormFor) TextArea(field string, opts tags.Options) *tags.Tag
- func (f FormFor) TextAreaTag(field string, opts tags.Options) *tags.Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Form ¶
Form is the bootstrap version of Form
func (Form) CheckboxTag ¶
CheckboxTag builds a bootstrap checkbox with passed options
func (Form) RadioButton ¶
RadioButton builds a bootstrap input[type=radio] with passed options
func (Form) RadioButtonTag ¶
RadioButtonTag builds a bootstrap input[type=radio] with passed options
type FormFor ¶
FormFor is the FormFor version for bootstrap
func NewFormFor ¶
NewFormFor builds a form for a passed model
func (FormFor) CheckboxTag ¶
CheckboxTag adds a checkbox to a form wrapped with a form-control and a label
func (FormFor) FileTag ¶
FileTag adds a bootstrap input[type=file] wrapped with a form-control and a label
func (FormFor) InputTag ¶
InputTag builds an input[type=text] by default wrapped with a form-control and a label
func (FormFor) RadioButton ¶
RadioButton adds a bootstrap input[type=radio] wrapped with a form-control and a label
func (FormFor) RadioButtonTag ¶
RadioButtonTag adds a bootstrap input[type=radio] wrapped with a form-control and a label
func (FormFor) SelectTag ¶
SelectTag adds a bootstrap select tag wrapped with a form-control and a label