README.md in formtastic-bootstrap-1.1.2 vs README.md in formtastic-bootstrap-1.2.0
- old
+ new
@@ -125,12 +125,27 @@
### What's Missing
Contributions are welcome!
* Formtastic's <tt>:country</tt> has not yet been implemented.
-* Twitter Bootstrap's Date Range, Prepend Text, Prepend Checkbox and Appended Checkbox controls have not yet been implemented.
+* Twitter Bootstrap's Date Range, Prepend Checkbox and Appended Checkbox controls have not yet been implemented.
+## Usage
+
+In general, the usage should be identical to Formtastic's. Some changes have been introduced in order to support Bootstrap-specific controls.
+
+### Bootstrap-specific Controls
+
+#### Prepended Text
+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 %>
+
## Contributing
### Contributors
A big thank you [to all contributors](https://github.com/mjbellantoni/formtastic-bootstrap/contributors)!
@@ -143,10 +158,13 @@
* The version of Twitter Bootstrap you're using.
* The code for your form.
* Anything else you think will help!
### Source Contributions
+
+Source contributions are very welcome! Most of the recent work on this package has been done by the community.
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
* Fork the project
* Start a feature/bugfix branch
* Commit and push until you are happy with your contribution
@@ -160,16 +178,14 @@
* Basic Formtastic
* :country
* :time_zone
* Fancy Bootstrap Fields
* Date Range
- * Prepend Text
* Prepend Checkbox
* Appended Checkbox
* :datetime, :date, :time
* As rich functionally as their Rails counterparts.
* Extract into a standalone gem.
-* Disabled inputs
* Tests
* Refactor
* More -- See if I'm making sure the Bootstrap classes are present.
* Documentation
* Refactor :boolean to use common "choices" code (if possible.) (Not sure it is.)