README.md in formtastic-bootstrap-2.0.0 vs README.md in formtastic-bootstrap-2.1.0
- old
+ new
@@ -51,12 +51,12 @@
<%= semantic_form_for @post do |f| %>
<%= f.semantic_errors %>
<%= f.inputs do %>
<%= f.input :title, :hint => "This is the title!" %>
<% end %>
- <%= f.buttons do %>
- <%= f.commit_button %>
+ <%= f.actions do %>
+ <%= f.action :submit %>
<% end %>
<% end %>
#### Formtastic
@@ -142,9 +142,18 @@
To create a Prepended Text field, use the ```:prepend``` option. This works on any text field input type, like ```:url```, ```:search```, and of course ```:string```
<%= semantic_form_for @user do |f| %>
<%= f.inputs do %>
<%= f.input :handle, :prepend => '@' %>
+ <% end %>
+ <% end %>
+
+#### Appended Text
+To create an Appended Text field, use the ```:append``` option. This works on any text field input type, like ```:url```, ```:search```, and of course ```:string```
+
+ <%= semantic_form_for @user do |f| %>
+ <%= f.inputs do %>
+ <%= f.input :handle, :append => '%' %>
<% end %>
<% end %>
## Contributing