diff options
| author | Mark Otto <[email protected]> | 2012-05-15 09:41:06 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-05-15 09:41:06 -0700 |
| commit | 67f81a2ed53d5608a26eae5eb301614ad53cf3b5 (patch) | |
| tree | 56e8745149ac68c20aba306614d628c1d9378e80 /docs/templates | |
| parent | 0679f24606dff0a3d38f88bad220d393bb363dba (diff) | |
| download | bootstrap-67f81a2ed53d5608a26eae5eb301614ad53cf3b5.tar.xz bootstrap-67f81a2ed53d5608a26eae5eb301614ad53cf3b5.zip | |
clarify button type on dismiss icons
Diffstat (limited to 'docs/templates')
| -rw-r--r-- | docs/templates/pages/components.mustache | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 759e9a415..b1f858998 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -1620,7 +1620,7 @@ <strong>{{_i}}Warning!{{/i}}</strong> {{_i}}Best check yo self, you're not looking too good.{{/i}} </div> </pre> - <p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <code><button></code> element with the data attribute, which we have opted to do for our docs. When using <code><button></code>, you must include <code>type="button"</code> or risk unintentional form submissions.{{/i}}</p> + <p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}iOS devices require an <code>href="#"</code> for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <code><button></code> element with the data attribute, which we have opted to do for our docs. When using <code><button></code>, you must include <code>type="button"</code> or your forms may not submit.{{/i}}</p> <p>{{_i}}Easily extend the standard alert message with two optional classes: <code>.alert-block</code> for more padding and text controls and <code>.alert-heading</code> for a matching heading.{{/i}}</p> <div class="alert alert-block"> <button type="button" class="close" data-dismiss="alert">×</button> |
