mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 14:22:33 +03:00
feat: make form responsible for different screens
This commit is contained in:
parent
19a2c02e9a
commit
fcc6330b19
@ -64,8 +64,9 @@
|
||||
{{ end }}
|
||||
|
||||
{{ 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 }}
|
||||
<form id="postForm" action="/" method="POST" enctype="multipart/form-data">
|
||||
{{ else }}
|
||||
@ -107,4 +108,6 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user