feat: add carpet
This commit is contained in:
@@ -50,12 +50,12 @@
|
||||
<table>
|
||||
<tr><th>متن / شکلک</th><th>ترتیب</th><th></th></tr>
|
||||
{{range .messages}}
|
||||
<tr><form method="post" action="/admin/chat/message/delete">
|
||||
<td>{{.body}}</td>
|
||||
<td>{{.sort}}</td>
|
||||
<tr><form method="post" action="/admin/chat/message">
|
||||
<td><input type="hidden" name="id" value="{{.id}}"><input name="body" value="{{.body}}" style="width:100%"></td>
|
||||
<td><input name="sort" value="{{.sort}}" style="width:50px"></td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{{.id}}">
|
||||
<button class="del">حذف</button>
|
||||
<button>ذخیره</button>
|
||||
<button formaction="/admin/chat/message/delete" formnovalidate class="del">حذف</button>
|
||||
</td>
|
||||
</form></tr>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user