cheatsheets/simple_form.md

309 B

title tags
SimpleForm
WIP

Inputs

<%= f.input :email, required: false, autofocus: true %>
<%= f.input :password, required: false %>
<%= f.input :remember_me, as: :boolean %>
<%= f.button :submit, "Sign in" %>

Adding a wrapper

simple_form_for @x, wrapper: :small