mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
feat: remove title in form from thread page
This commit is contained in:
parent
6ef39c6726
commit
6243ad9f4c
@ -66,7 +66,9 @@
|
|||||||
{{ define "post-form" }}
|
{{ define "post-form" }}
|
||||||
<div class="col col-12">
|
<div class="col col-12">
|
||||||
<form id="postForm" action="/{{ . }}" method="POST" enctype="multipart/form-data">
|
<form id="postForm" action="/{{ . }}" method="POST" enctype="multipart/form-data">
|
||||||
<input class="form-control" id="postTitle" placeholder="Title" name="title">
|
{{ if eq . nil }}
|
||||||
|
<input class="form-control" id="postTitle" placeholder="Title" name="title">
|
||||||
|
{{ end }}
|
||||||
<textarea class="form-control" id="postText" rows="5" placeholder="Text" name="text"></textarea>
|
<textarea class="form-control" id="postText" rows="5" placeholder="Text" name="text"></textarea>
|
||||||
<input class="form-control" type="file" id="postFiles" multiple name="files">
|
<input class="form-control" type="file" id="postFiles" multiple name="files">
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user