mirror of
https://github.com/1f349/themes.git
synced 2024-12-22 08:14:11 +00:00
Change edit forms to use the edit action
This commit is contained in:
parent
6db1e0eacd
commit
c6bb9d7cba
@ -11,7 +11,7 @@
|
|||||||
<div class="center-box sm:max-w-2xl">
|
<div class="center-box sm:max-w-2xl">
|
||||||
<h1 class="box-title">Edit Client Application</h1>
|
<h1 class="box-title">Edit Client Application</h1>
|
||||||
<form id="manage-apps-edit" method="POST" action="/manage/apps" class="space-y-4 md:space-y-6">
|
<form id="manage-apps-edit" method="POST" action="/manage/apps" class="space-y-4 md:space-y-6">
|
||||||
<input type="hidden" name="action" value="create"/>
|
<input type="hidden" name="action" value="edit"/>
|
||||||
<input type="hidden" name="offset" value="{{.Offset}}"/>
|
<input type="hidden" name="offset" value="{{.Offset}}"/>
|
||||||
<input type="hidden" name="subject" value="{{.EditApp.Subject}}"/>
|
<input type="hidden" name="subject" value="{{.EditApp.Subject}}"/>
|
||||||
<div>
|
<div>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<div class="center-box sm:max-w-2xl">
|
<div class="center-box sm:max-w-2xl">
|
||||||
<h1 class="box-title">Edit User</h1>
|
<h1 class="box-title">Edit User</h1>
|
||||||
<form id="manage-users-edit" method="POST" action="/manage/users" class="space-y-4 md:space-y-6">
|
<form id="manage-users-edit" method="POST" action="/manage/users" class="space-y-4 md:space-y-6">
|
||||||
<input type="hidden" name="action" value="create"/>
|
<input type="hidden" name="action" value="edit"/>
|
||||||
<input type="hidden" name="offset" value="{{.Offset}}"/>
|
<input type="hidden" name="offset" value="{{.Offset}}"/>
|
||||||
<input type="hidden" name="subject" value="{{.EditUser.Subject}}"/>
|
<input type="hidden" name="subject" value="{{.EditUser.Subject}}"/>
|
||||||
<div>
|
<div>
|
||||||
|
Loading…
Reference in New Issue
Block a user