forked from GNUsocial/gnu-social
[UI][TWIG] Better, divided form rendring of the posting form
This commit is contained in:
parent
cf8c85f6ba
commit
253705f704
@ -27,9 +27,24 @@
|
|||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{% if post_form is defined %}
|
{% if post_form is defined %}
|
||||||
<div class="note-post">
|
{{ form_start(post_form) }}
|
||||||
{{ form(post_form) }}
|
<div class="create-notice">
|
||||||
</div>
|
<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 %}
|
{% endif %}
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<nav class='main-nav'>
|
<nav class='main-nav'>
|
||||||
|
Loading…
Reference in New Issue
Block a user