v1.2.0
https://rubygems.org/gems/tolaria/versions/1.2.0
Save and Review:
Tolaria forms now have two submit buttons: Save and Save & Review. The Save button takes the user back to the index view on a successful save. Save & Review takes the user to the show view on success. The second button will hide appropriately if you forbid the show action.
Tolaria now attempts to maintain the search and filtering parameter q when navigating back and forth between the index view, form views, and show view. Cancel and Save buttons should return the user to the index screen with their filters and search params maintained.
Other Changes:
- FontAwesome has been updated to 4.5.0 (with new icons!)
- The included Backbone.js has been updated to version 1.2.3 and Moment.js has been updated to version 2.10.6
- You can now pass additional HTML options to
f.hint(to set things like theclass,id, ordata-*attributes). Useful for targeting with JavaScript. textareafields now automatically re-size their height to fit content.- Made a few small padding and margin tweaks to buttons and the left-hand navigation.
- You can now run
rake admin:createnon-interactively by setting the three environment variablesNAME,EMAIL, andORGANIZATION. The rake task will only run non-interactively if you set all three of these variables.
rake admin:create NAME="Evon Gnashblade" EMAIL="example@example.org" ORGANIZATION="BLTC"