From: Mark Otto Date: Tue, 15 May 2012 16:41:06 +0000 (-0700) Subject: clarify button type on dismiss icons X-Git-Tag: v2.0.4~1^2~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67f81a2ed53d5608a26eae5eb301614ad53cf3b5;p=thirdparty%2Fbootstrap.git clarify button type on dismiss icons --- diff --git a/docs/components.html b/docs/components.html index 1ff759f2e0..523b189bb7 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1697,7 +1697,7 @@ <strong>Warning!</strong> Best check yo self, you're not looking too good. </div> -

Heads up! iOS devices require an href="#" for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or risk unintentional form submissions.

+

Heads up! iOS devices require an href="#" for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or your forms may not submit.

Easily extend the standard alert message with two optional classes: .alert-block for more padding and text controls and .alert-heading for a matching heading.

diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 759e9a4159..b1f8589981 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> -

{{_i}}Heads up!{{/i}} {{_i}}iOS devices require an href="#" for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or risk unintentional form submissions.{{/i}}

+

{{_i}}Heads up!{{/i}} {{_i}}iOS devices require an href="#" for the dismissal of alerts. Be sure to include it and the data attribute for anchor close icons. Alternatively, you may use a <button> element with the data attribute, which we have opted to do for our docs. When using <button>, you must include type="button" or your forms may not submit.{{/i}}

{{_i}}Easily extend the standard alert message with two optional classes: .alert-block for more padding and text controls and .alert-heading for a matching heading.{{/i}}