mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 22:32:33 +03:00
feat: make form responsible for different screens
This commit is contained in:
parent
19a2c02e9a
commit
fcc6330b19
@ -64,8 +64,9 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "post-form" }}
|
{{ define "post-form" }}
|
||||||
<div class="col col-12">
|
<div class="d-flex justify-content-center">
|
||||||
|
|
||||||
|
<div class="col col-lg-6 col-md-8">
|
||||||
{{ if eq .FirstPostID 0 }}
|
{{ if eq .FirstPostID 0 }}
|
||||||
<form id="postForm" action="/" method="POST" enctype="multipart/form-data">
|
<form id="postForm" action="/" method="POST" enctype="multipart/form-data">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
@ -107,4 +108,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
Loading…
Reference in New Issue
Block a user