Skip to content

Commit

Permalink
feat: component button name (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Sep 1, 2024
1 parent 5ee95ed commit ce95813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unfold/templates/unfold/components/button.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<button {% if submit %}type="submit"{% endif%} class="bg-primary-600 border border-transparent font-medium px-3 py-2 rounded-md text-sm text-white">
<button {% if submit %}type="submit"{% endif %} {% if name %}name="{{ name }}"{% endif %} class="bg-primary-600 border border-transparent font-medium px-3 py-2 rounded-md text-sm text-white">
{{ children }}
</button>

0 comments on commit ce95813

Please sign in to comment.