Permalink
Browse files

cols => size in README, fixes #753

  • Loading branch information...
1 parent b8aaa1a commit c36692c2b11d9d4c3ca73bad37de17dc9a14cb3c @justinfrench committed Dec 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.textile
View
@@ -253,7 +253,7 @@ Customize HTML attributes for any input using the @:input_html@ option. Typicall
<pre>
<%= semantic_form_for @post do |f| %>
<%= f.inputs do %>
- <%= f.input :title, :input_html => { :cols => 10 } %>
+ <%= f.input :title, :input_html => { :size => 10 } %>
<%= f.input :body, :input_html => { :class => 'autogrow', :rows => 10, :cols => 20, :maxlength => 10 } %>
<%= f.input :created_at, :input_html => { :disabled => true } %>
<% end %>

0 comments on commit c36692c

Please sign in to comment.