mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-08-16 14:04:47 +02:00
328 B
328 B
title, layout, tags
| 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