Skip to content

Commit

Permalink
Render datetime field using foundation #4095
Browse files Browse the repository at this point in the history
  • Loading branch information
joemull authored and mauromsl committed May 30, 2024
1 parent 2a2b7c4 commit 3f326c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/templates/admin/elements/publish/pubdate.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% load foundation %}

<div class="reveal small" id="pubdate" data-reveal data-animation-in="slide-in-up"
data-animation-out="slide-out-down">
<div class="card">
Expand All @@ -17,7 +19,7 @@ <h5>Publication Date/Time</h5>
{% endif %}
<form method="POST">
{% csrf_token %}
{{ pub_date_form }}
{{ pub_date_form|foundation }}
<button type="submit" name="pubdate" class="small success button">Set Publication Date</button>
</form>
<button class="close-button" data-close aria-label="Close reveal" type="button">
Expand Down

0 comments on commit 3f326c3

Please sign in to comment.