Update
This commit is contained in:
parent
99660143ab
commit
cdb6135103
|
@ -3,10 +3,14 @@ title: SimpleForm
|
|||
layout: default
|
||||
---
|
||||
|
||||
```ruby
|
||||
<%= f.input :email, required: false, autofocus: true %>
|
||||
<%= f.input :password, required: false %>
|
||||
<%= f.input :remember_me, as: :boolean %>
|
||||
<%= f.button :submit, "Sign in" %>
|
||||
```
|
||||
|
||||
```ruby
|
||||
simple_form_for @x,
|
||||
wrapper: :small
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue