mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2025-06-15 22:57:33 +02:00
328 B
328 B
title | layout | tags | |
---|---|---|---|
SimpleForm | 2017/sheet |
|
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