stranck-dev #8
|
@ -18,6 +18,7 @@ function confirmAction (intent, sender) {
|
||||||
intentEditPanel.style.display = 'block';
|
intentEditPanel.style.display = 'block';
|
||||||
intentEdit.setAttribute('required', true)
|
intentEdit.setAttribute('required', true)
|
||||||
intentFormAction.setAttribute('method', 'POST')
|
intentFormAction.setAttribute('method', 'POST')
|
||||||
|
document.getElementById("intentRename").value = sender.parentElement.parentElement.querySelector("span").innerText;
|
||||||
break
|
break
|
||||||
case 'unconfirm':
|
case 'unconfirm':
|
||||||
break
|
break
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
<form method="POST" action="/manage/room/rename">
|
<form method="POST" action="/manage/room/rename">
|
||||||
<label for="name"></label>
|
<label for="name"></label>
|
||||||
<input type="text" name="name" required minlength="4" maxlength="64" />
|
<input type="text" name="name" required minlength="4" maxlength="64" value="{{order.ans('room_name')}}"/>
|
||||||
<input type="submit" value="Rename room" />
|
<input type="submit" value="Rename room" />
|
||||||
</form>
|
</form>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in New Issue