Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor formatting/typo fixes

  • Loading branch information...
commit 390ced48d4c6ce68e29c6c838cdb63a0687a23ae 1 parent 08fc684
Andrew Haines haines authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.textile
6 README.textile
View
@@ -194,7 +194,7 @@ If you want to customize the label text, or render some hint text below the fiel
<%= f.input :created_at, :as => :string, :label => "Publication Date", :required => false %>
<% end %>
<%= f.actions do %>
- <%= f.action(:submit) %>
+ <%= f.action :submit %>
<% end %>
<% end %>
</pre>
@@ -426,7 +426,7 @@ Formtastic supports localized *labels*, *hints*, *legends*, *actions* using the
<%= f.input :section %> # => :label => I18n.t('activerecord.attributes.user.section') or 'Section'
<% end %>
<%= f.actions do %>
- <%= f.action(:submit) %> # => "Create my %{model}"
+ <%= f.action :submit %> # => "Create my %{model}"
<% end %>
<% end %>
</pre>
@@ -454,7 +454,7 @@ _Note: Slightly different because Formtastic can't guess how you group fields in
<%= f.input :section, :label => 'Some section' %> # => :label => 'Some section'
<% end %>
<%= f.actions do %>
- <%= f.actions(:submit, :label => :dummie) %> # => "Launch!"
+ <%= f.action :submit, :label => :dummie %> # => "Launch!"
<% end %>
<% end %>
</pre>
Please sign in to comment.
Something went wrong with that request. Please try again.