mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-27 10:04:49 +00:00
Fix invalid HTML in styleguide code sample
This commit is contained in:
parent
e698af8b08
commit
0a2531c1fa
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@
|
|||
|
||||
<section id="buttons">
|
||||
<h2>Buttons</h2>
|
||||
<p class="help-block help-warning">Do not use <code>{% filter force_escape|lower %}<input type="button">{% endfilter %}</code> use <code>{% filter force_escape|lower %}<button type="button">{% endfilter %}</code> instead. This addresses inconsistencies between rendering of buttons x-browser.</p>
|
||||
<p class="help-block help-warning">Do not use <code>{% filter force_escape|lower %}<input type="button">{% endfilter %}</code> use <code>{% filter force_escape|lower %}<button type="button"></button>{% endfilter %}</code> instead. This addresses inconsistencies between rendering of buttons x-browser.</p>
|
||||
|
||||
|
||||
<p>Buttons must have interaction possible (i.e be an input or button element) to get a suitable hover cursor</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue