summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-02-26 11:04:39 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-02-26 12:03:32 -0800
commit7b5a8c3ae5d9f868a3ba8fae75554c02a2d9f30e (patch)
treef019c493f71139fb0003b0a0fae451ef6dff5866
parent8274a975d2db3697eb1d69dd22ddcc33592bbbf7 (diff)
downloadfatcat-7b5a8c3ae5d9f868a3ba8fae75554c02a2d9f30e.tar.gz
fatcat-7b5a8c3ae5d9f868a3ba8fae75554c02a2d9f30e.zip
web: fix editgrouop action/help overlap
-rw-r--r--python/fatcat_web/templates/editgroup_view.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/editgroup_view.html b/python/fatcat_web/templates/editgroup_view.html
index dc18f9d3..c4f23066 100644
--- a/python/fatcat_web/templates/editgroup_view.html
+++ b/python/fatcat_web/templates/editgroup_view.html
@@ -20,7 +20,7 @@
<br>
<form id="submit_edit_delete" method="POST" action="/editgroup/{{ editgroup.editgroup_id }}/{{ entity_type }}/edit/{{ edit.edit_id }}/delete" style="display:inline;">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
- <input type="submit" value="[delete]" style="background:none; color: red; border: none; padding:9;font-weight:bold;cursor:pointer;"></input>
+ <input type="submit" value="[delete]" style="background:none; color: red; border: none; font-weight:bold; cursor:pointer; padding: 0;"></input>
</form>
{% endif %}
</div>
@@ -81,14 +81,17 @@
<h1 class="ui header">Editgroup
<span class="sub header"><code>editgroup_{{ editgroup.editgroup_id }}</code></span></h1>
-{% endblock %}
+{% if not auth_to.submit %}
+<br clear="all">
<div class="ui info small message">
<div class="header">
What is an editgroup?
</div>
<p>An editgroup is a set of entity edits, bundled together into a coherent, reviewable bundle.
</div>
+{% endif %}
+{% endblock %}
<table class="ui fixed compact small definition table">
<tbody>