This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Indicate that you can use `data-confirm` on buttons too

  • Loading branch information...
1 parent b32c802 commit c86cef88e5cbba0411b3286025dc94fbe04636c8 @mislav mislav committed Mar 8, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.html
View
@@ -411,11 +411,11 @@ <h2 id="confirm">Confirm</h2>
<p><code>#= require rails/confirm</code></p>
-<p>Prompts native confirm dialog before activating link.</p>
+<p>Prompts native confirm dialog before activating link or button.</p>
<h3>Markup</h3>
-<p><code>&lt;a&gt;</code></p>
+<p><code>&lt;a&gt;</code>, <code>&lt;input type=submit&gt;</code> or <code>&lt;button&gt;</code></p>
<table>
<thead>
<th><p>Attribute</p></th>

0 comments on commit c86cef8

Please sign in to comment.