Skip to content

Commit

Permalink
refactor: ran djlint
Browse files Browse the repository at this point in the history
Signed-off-by: Trey <[email protected]>
  • Loading branch information
TreyWW committed Oct 14, 2024
1 parent 8e98090 commit 2c78f60
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
<form class="m-0 flex grow flex-col gap-y-2"
hx-swap="none"
hx-post="{% url 'api:settings:email_template save' template=template %}"
:class="{ 'hidden': activeTab !== '{{ template }}'}">
:class="{ 'hidden': activeTab !== '{{ template }}'}">
<p>{{ template|split:"_"|join:" "|title }}</p>
{% with text=email_templates.recurring_invoices|dict_get:template %}
<textarea class="m-0 h-full w-full textarea textarea-bordered" name="content">{{ text }}</textarea>
{% with text=email_templates.recurring_invoices|dict_get:template %}
<textarea class="m-0 h-full w-full textarea textarea-bordered" name="content">{{ text }}</textarea>
{% endwith %}
<button class="w-fit self-end px-4 btn btn-sm btn-primary">Save</button>
</form>
Expand Down

0 comments on commit 2c78f60

Please sign in to comment.