mirror of
https://github.com/heartcombo/simple_form.git
synced 2022-11-09 12:19:26 -05:00
Corrected syntax highlighting in a couple of places
This commit is contained in:
parent
d75963307f
commit
03c729af10
1 changed files with 2 additions and 2 deletions
|
@ -232,7 +232,7 @@ The easiest way to achieve this is to use `f.input_field`.
|
|||
|
||||
Example:
|
||||
|
||||
```erb
|
||||
```ruby
|
||||
simple_form_for @user do |f|
|
||||
f.input_field :name
|
||||
end
|
||||
|
@ -240,7 +240,7 @@ end
|
|||
|
||||
Produces:
|
||||
|
||||
```erb
|
||||
```html
|
||||
<input class="string required" id="user_name" maxlength="100"
|
||||
name="user[name]" size="100" type="text" value="Carlos" />
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue