SimpleForm
A cheatsheet by @rstacruz|Refreshed 7 months ago.Refresh|View source on Github

Inputs

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

Adding a wrapper

simple_form_for @x, wrapper: :small