moviewyrm/bookwyrm/templates/components/inline_form.html

16 lines
755 B
HTML
Raw Normal View History

2021-03-01 01:37:49 +00:00
{% load i18n %}
2021-02-03 20:25:33 +00:00
<section class="card hidden {{ class }}" id="{{ controls_text }}{% if controls_uid %}-{{ controls_uid }}{% endif %}">
<header class="card-header has-background-white-ter">
<h2 class="card-header-title" tabindex="0" id="{{ controls_text }}{% if controls_uid %}-{{ controls_uid }}{% endif %}-header">
{% block header %}{% endblock %}
</h2>
<span class="card-header-icon">
{% trans "Close" as button_text %}
{% include 'snippets/toggle/toggle_button.html' with label=button_text class="delete" nonbutton=True controls_text=controls_text %}
2021-02-03 20:25:33 +00:00
</span>
</header>
<section class="card-content content">
{% block form %}{% endblock %}
</section>
</section>