mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-09-28 06:12:03 +00:00
Unique names for fallback forms
This commit is contained in:
parent
0dc6a18201
commit
305dcc504b
2 changed files with 4 additions and 1 deletions
|
@ -203,7 +203,9 @@
|
||||||
<hr aria-hidden="true">
|
<hr aria-hidden="true">
|
||||||
|
|
||||||
<section class="box">
|
<section class="box">
|
||||||
|
{% with 0|uuid as controls_uid %}
|
||||||
{% include 'snippets/create_status.html' with book=book hide_cover=True %}
|
{% include 'snippets/create_status.html' with book=book hide_cover=True %}
|
||||||
|
{% endwith %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="block" id="reviews">
|
<div class="block" id="reviews">
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
{% load utilities %}
|
||||||
{% if fallback_url %}
|
{% if fallback_url %}
|
||||||
<form name="fallback_form_{{ controls_text }}{{ controls_uid }}" method="GET" action="{{ fallback_url }}">
|
<form name="fallback_form_{{ 0|uuid }}" method="GET" action="{{ fallback_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button
|
<button
|
||||||
{% if not fallback_url %}
|
{% if not fallback_url %}
|
||||||
|
|
Loading…
Reference in a new issue