a0bbde78867a2a646905239e5945f9c0a9677cd9 — Thomas Letan 1 year, 3 months ago 04626ce
front: Improve the look of future sheet buttons
1 files changed, 10 insertions(+), 12 deletions(-)

M templates/character_future.html.tera
M templates/character_future.html.tera => templates/character_future.html.tera +10 -12
@@ 2,26 2,24 @@
 
 {% block characternav %}
 {% if content.current %}
-<a href="/character/{{ content.sheet.character_id }}/current">
-  <button class="ui button">
+<form action="/character/{{ content.sheet.character_id }}/future/validate"
+      method="post">
+<a href="/character/{{ content.sheet.character_id }}/current" class="ui button">
     See validated version
-  </button>
 </a>
 {% endif %}
 
 {% if user %}
-<form method="post" action="/character/{{ content.sheet.character_id }}/future/validate">
-  <button class="ui button positive submit">
-    Validate
-  </button>
-</form>
+<button class="ui button positive submit">
+  Validate
+</button>
 {% endif %}
 
-<a href="/character/{{ content.sheet.character_id }}/future/edit">
-  <button class="ui button icon">
-    <i class="icon edit"></i>
-  </button>
+<a href="/character/{{ content.sheet.character_id }}/future/edit"
+   class="ui button icon">
+  <i class="icon edit"></i>
 </a>
+</form>
 {% endblock characternav %}
 
 {% block characternotfound %}