[UI][TWIG] Better, divided form rendring of the posting form

This commit is contained in:
rainydaysavings 2020-08-26 06:38:49 +01:00 committed by Hugo Sales
parent cf8c85f6ba
commit 253705f704

View File

@ -27,9 +27,24 @@
{% block body %}
<div class="content">
{% if post_form is defined %}
<div class="note-post">
{{ form(post_form) }}
{{ form_start(post_form) }}
<div class="create-notice">
<div class="scope">
{{ form_row(post_form.scope) }}
</div>
<div class="notice-input">
<div class="content-input">
{{ form_row(post_form.content) }}
</div>
<div class="attachments">
{{ form_row(post_form.attachments) }}
</div>
<div class="send">
{{ form_row(post_form.send) }}
</div>
</div>
</div>
{{ form_end(post_form) }}
{% endif %}
<div class="main">
<nav class='main-nav'>