Add opt-out commentary field to registrar

This commit is contained in:
Alex Sherman 2020-06-30 19:16:33 +05:00
parent 39030fc0df
commit 3d734ff746
5 changed files with 25 additions and 1356 deletions

View file

@ -74,6 +74,8 @@ module Admin
:vat_rate,
:accounting_customer_code,
:billing_email,
:legaldoc_optout,
:legaldoc_optout_comment,
:iban,
:language)
end

View file

@ -100,6 +100,15 @@
<%= f.check_box :legaldoc_optout, class: 'form-control' %>
</div>
</div>
<div class="form-group">
<div class="col-md-4 control-label">
<%= f.label t('.legaldoc_optout_comment') %>
</div>
<div class="col-md-7">
<%= f.text_area :legaldoc_optout_comment, class: 'form-control', rows: 3 %>
</div>
</div>
</div>
</div>
</div>