aboutsummaryrefslogtreecommitdiff
path: root/apps/dreki_web/templates/store_new.dtl
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dreki_web/templates/store_new.dtl')
-rw-r--r--apps/dreki_web/templates/store_new.dtl10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/dreki_web/templates/store_new.dtl b/apps/dreki_web/templates/store_new.dtl
index 5a85854..0ae8d59 100644
--- a/apps/dreki_web/templates/store_new.dtl
+++ b/apps/dreki_web/templates/store_new.dtl
@@ -2,14 +2,18 @@
<div class="text-base">
{{ location }} / {{ namespace }} / {{ directory }}
</div>
- New
+ {% if result %}
+ {{ result.id }}: {{ title }}
+ {% else %}
+ New
+ {% endif %}
</h1>
-<form action="{{ target }}" method="{{ method }}">
+<form action="{{ target }}" method="{{ method }}" class="space-y-8 divide-y divide-gray-200">
{{ form | safe }}
<div class="pt-5">
- <div class="flex justify-end">
+ <div class="flex justify-start">
<button type="submit" class="ml-3 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">Save</button>
</div>
</div>