twitter-bootstrap-rails-confirm 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +5 -1
- data/lib/twitter-bootstrap-rails-confirm/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -25,7 +25,11 @@ Or install it yourself as:
|
|
25
25
|
|
26
26
|
## Usage
|
27
27
|
|
28
|
-
|
28
|
+
Add it to your application.js:
|
29
|
+
|
30
|
+
//= require twitter/bootstrap/rails/confirm
|
31
|
+
|
32
|
+
Next... nothing. There is nothing you need to do to get this working. A helper could be useful for handling large amount of destroy buttons:
|
29
33
|
|
30
34
|
def destroy_link_to(path, options)
|
31
35
|
link_to t('.destroy'), path,
|