LIKE US FOR UPDATES + GET A FREE STICKER PACK!

Formular

Formular

Last updated 11 August 2017 formular v0.1

WORK IN PROGRESS.

Checkout the Bootstrap docs.

Bootstrap 3

Inline Forms

Instruct Formular to render an inline form via style: :inline.

form(model, "/posts", style: :inline) do |f|

You can not pass a :label into the control to skip rendering a label. Make sure to use :placeholder, then. Alternatively, you can do as follows to suppress the label (this is the recommended Bootstrap way).

= f.input :url_slug,
  label:       "URL slug",
  placeholder: "URL slug",
  label_attrs: { class: ["sr-only"] }