mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-26 11:21:35 +01:00
knowledge type select instead of input
This commit is contained in:
@@ -16,11 +16,13 @@ hx-swap="outerHTML"
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-control">
|
||||
<label class="floating-label">
|
||||
<span class="label-text">Type</span>
|
||||
<input type="text" name="name" value="{{ entity.entity_type}}" class="input input-bordered w-full">
|
||||
</label>
|
||||
<div class="form-control relative" style="margin-top: -1.5rem;">
|
||||
<span class="absolute left-2.5 top-2.5 z-[100] p-0.5 bg-white text-xs text-light">Type</span>
|
||||
<select name="entity_type" class="select select-bordered w-full">
|
||||
{% for et in entity_types %}
|
||||
<option value="{{ et }}" {% if entity.entity_type==et %}selected{% endif %}>{{ et }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<input type="text" name="id" value="{{ entity.id }}" class="hidden">
|
||||
|
||||
Reference in New Issue
Block a user