Skip to content

Commit

Permalink
ui: move lock_topic field for more consistency (post form)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentporte committed Aug 8, 2024
1 parent a64ee65 commit afca0a6
Showing 1 changed file with 1 addition and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
{% if post_form.update_reason %}
{% include "partials/form_field.html" with field=post_form.update_reason %}
{% endif %}
{% include "partials/form_field.html" with field=post_form.lock_topic %}
<!-- Sub "forms" tabs -->
{% if attachment_formset %}
<ul class="nav nav-tabs nav-tabs--communaute">
Expand All @@ -24,25 +25,6 @@
{% endif %}
<!-- Sub "forms" panes -->
<div class="tab-content">
<div class="tab-pane active" id="options">
<div class="form-group">
<br />
<div class="row">
<div class="col-md-12">
{% if post_form.lock_topic %}
{% with field=post_form.lock_topic %}
<div class="checkbox">
<label for="{{ field.auto_id }}">
{{ field }}
{{ field.label }}
</label>
</div>
{% endwith %}
{% endif %}
</div>
</div>
</div>
</div>
{% if attachment_formset %}
<div class="tab-pane" id="attachments">
<div class="form-group">
Expand Down

0 comments on commit afca0a6

Please sign in to comment.