Files
cheatsheets/simple_form.md
T
2014-02-25 18:32:14 +08:00

257 B

title, layout
title layout
SimpleForm default

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

simple_form_for @x, wrapper: :small