README.md in hobo_bootstrap_ui-2.0.0.pre7 vs README.md in hobo_bootstrap_ui-2.0.0.pre8

- old
+ new

@@ -1,33 +1,19 @@ -Additional UI tags for the [hobo_bootstrap theme](https://github.com/Hobo/hobo_bootstrap). Some of these tags are wrappers for the [bootstrap javascript components](twitter.github.com/bootstrap/javascript.html). Others are useful tags that are built on top of those javascript components. +Additional UI tags for the [hobo_bootstrap theme](https://github.com/Hobo/hobo_bootstrap). Some of these tags are wrappers for the [bootstrap javascript components](twitter.github.com/bootstrap/javascript.html). Others are useful tags that are built on top of those javascript components. It pulls in the [bootstrap-datepicker-rails gem](https://github.com/Nerian/bootstrap-datepicker-rails), and can augment or replace the [hobo_jquery_ui](/plugins/hobo_jquery_ui) theme. -This plugin also includes an implementation of `<search-results-container>`, replacing the one in `hobo_jquery_ui`. - ## Installation rails generate hobo:install_plugin hobo_bootstrap_ui git://github.com/Hobo/hobo_bootstrap_ui.git ## Documentation [Tag documentation](http://cookbook.hobocentral.net/api_plugins/hobo_bootstrap_ui) ## Versus hobo_jquery_ui -It is intended that this library will render [hobo_jquery_ui](https://github.com/Hobo/hobo_jquery_ui) and jquery-ui optional. +You can use hobo_bootstrap_ui instead of hobo_jquery_ui if you don't mind the loss of tags such as `<sortable-collection>`. -At the moment, you can use hobo_bootstrap_ui instead of hobo_jquery_ui if you don't mind the loss of tags such as `<name-one>`. +Alternatively, hobo_bootstrap_ui and hobo_jquery_ui may both be used in the same Hobo application. In the case of overlap, the plugin loaded last will be used. Both plugins provide implementations of `<search-results-container>`, `<name-one>` and `<input for="Date">`. Both plugins have these tags available with non-shadowed names: `<name-one-bootstrap>` and `<bootstrap-datepicker>` for this gem. -hobo_bootstrap_ui and hobo_jquery_ui may both be used in the same Hobo application. In the case of a conflict, the plugin loaded last will be used. `<search-results-container>` is the only current conflict, although hopefully we get bootstrap replacements for `<name-one>` and `<input for="Date">` soon. - -At the momemt, Hobo requires jQuery-UI even if hobo_jquery_ui is not used. We do plan on removing that dependency soon. - -## TODO - -* replace `show` and `hide` in hjq.js to make jQuery-UI optional - -* implement `name-one` using bootstrap typeahead so that a Hobo application without hobo_jquery_ui is Hobo 1.3 compatible - -* implement replacements for the remainder of hobo_jquery_ui's tags. - - +If you use hobo_bootstrap_ui without hobo_jquery_ui, you can also remove jQuery-UI from your `app/assets/javascripts/application.js` as well as associated stylesheets. If you do this you will lose the ability to position the AJAX spinner and to use hide and show effects during part AJAX. [1]: https://github.com/Hobo/hobo_bootstrap_ui/raw/master/screenshots/select_one_or_new.png