fix: save button
This commit is contained in:
@@ -64,5 +64,6 @@ class HTMXFormComponent(TemplateView):
|
||||
self.template_name,
|
||||
{
|
||||
"form": form,
|
||||
"save_button_text": self.save_button_text,
|
||||
},
|
||||
)
|
||||
|
||||
@@ -16,6 +16,10 @@
|
||||
<span class="flex justify-center mb-2 text-sm font-medium text-red-900 dark:text-red-400">{{ error }}</span>
|
||||
{% endfor %}
|
||||
|
||||
{% if success_message %}
|
||||
<span class="flex justify-center mb-2 text-sm font-medium text-red-900 dark:text-red-400">{{ success_message }}</span>
|
||||
{% endif %}
|
||||
|
||||
<footer class="flex justify-end">
|
||||
<button class="text-white bg-primary-600 hover:bg-primary-700 focus:ring-4 focus:outline-none
|
||||
focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-primary-600
|
||||
|
||||
Reference in New Issue
Block a user