mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-11 03:36:53 +02:00
refactor: modal homogenity
This commit is contained in:
@@ -7,20 +7,26 @@ hx-swap="outerHTML"
|
||||
{% endblock %}
|
||||
|
||||
{% block modal_content %}
|
||||
<h3 class="text-lg font-bold mb-4">Edit Content</h3>
|
||||
|
||||
<h3 class="text-lg font-bold ">Edit Content</h3>
|
||||
<div class="form-control">
|
||||
<label class="floating-label">
|
||||
<span class="label-text">Content Name</span>
|
||||
<input type="text" name="name" value="{{ text_content.text }}" class="w-full input input-bordered">
|
||||
<span class="label-text">Instructions</span>
|
||||
<input type="text" name="name" value="{{ text_content.instructions}}" class="w-full input input-bordered">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-control ">
|
||||
<label class="floating-label">
|
||||
<span class="label-text">Category</span>
|
||||
<input type="text" name="name" value="{{ text_content.category}}" class="w-full input input-bordered">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<input type="text" name="id" value="{{ text_content.id }}" class="hidden">
|
||||
|
||||
<div class="form-control mt-4 ">
|
||||
<div class="form-control">
|
||||
<label class="floating-label">
|
||||
<span class="label-text">Description</span>
|
||||
<span class="label-text">Text</span>
|
||||
<textarea name="description" class="textarea textarea-bordered h-32 w-full">{{ text_content.text}}</textarea>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user