mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-26 17:44:48 +00:00
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.
This commit is contained in:
parent
3b44b354e3
commit
1d4b069d3e
1 changed files with 3 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue