kopia lustrzana https://github.com/wagtail/wagtail
Remove 'value' attribute from an '<a>' tag
I initially thought this was missing a ``{% trans %}`` tag but according to [MDN](https://developer.mozilla.org/en/docs/Web/HTML/Element/a) ``value`` isn't a valid attribute to put on an ``<a>`` tag anyway so this commit removes it.pull/3588/merge
rodzic
3b44b354e3
commit
1d4b069d3e
|
@ -24,6 +24,7 @@
|
|||
</script>
|
||||
|
||||
<p class="add">
|
||||
<a class="button bicolor icon icon-plus" id="id_{{ self.formset.prefix }}-ADD" value="Add">
|
||||
{% blocktrans with heading=self.heading|lower %}Add {{ heading }}{% endblocktrans %}</a>
|
||||
<a class="button bicolor icon icon-plus" id="id_{{ self.formset.prefix }}-ADD">
|
||||
{% blocktrans with heading=self.heading|lower %}Add {{ heading }}{% endblocktrans %}
|
||||
</a>
|
||||
</p>
|
||||
|
|
Ładowanie…
Reference in New Issue