Adding AttachmentPointNames
This commit is contained in:
1 parent
ae50ec7049
commit
2767fb1c8e
14 files changed
+406
-3
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<tr id="attachment-point-name-{{ apn.id }}">
|
||||
<td colspan="3">
|
||||
<form hx-post="/admin/attachment-point-names/{{ apn.id }}"
|
||||
hx-target="#attachment-point-name-{{ apn.id }}"
|
||||
hx-swap="outerHTML"
|
||||
class="inline-edit">
|
||||
<span class="muted">#{{ apn.id }}</span>
|
||||
<label>Name <input type="text" name="name" value="{{ apn.name }}" required></label>
|
||||
<div class="row-actions">
|
||||
<button type="submit" class="btn btn-primary">Save</button>
|
||||
<button type="button" class="btn btn-ghost"
|
||||
hx-get="/admin/attachment-point-names/{{ apn.id }}/row"
|
||||
hx-target="#attachment-point-name-{{ apn.id }}"
|
||||
hx-swap="outerHTML">Cancel</button>
|
||||
</div>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
Reference in new issue
Block a user