dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 7f704585dad6e327ce659dc1b04394e4c37963b7
parent 144a34b9a53610d195dcdf55d578fb39c68ab85d
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu,  8 Jun 2023 13:54:55 -0700

reorder form

Diffstat:
Mpkg/web/handlers/streamModals/codeModal.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/streamModals/codeModal.go b/pkg/web/handlers/streamModals/codeModal.go @@ -76,6 +76,7 @@ func getCodeModalHTML(codeModalIdx int, roomName, csrf string, msgTyp database.C <textarea name="message" placeholder="Paste your code here..."></textarea> </div> <div class="controls"> + <button type="submit">send</button> <select name="lang"> <option value=""{{ if eq .SyntaxHighlightCode "" }} selected{{ end }}>Raw text</option> <option value="go"{{ if eq .SyntaxHighlightCode "go" }} selected{{ end }}>Golang</option> @@ -92,7 +93,6 @@ func getCodeModalHTML(codeModalIdx int, roomName, csrf string, msgTyp database.C <option value="html"{{ if eq .SyntaxHighlightCode "html" }} selected{{ end }}>HTML</option> <option value="bash"{{ if eq .SyntaxHighlightCode "bash" }} selected{{ end }}>Bash</option> </select> - <button type="submit">send</button> </div> </form> </div>`