add signature legal text field

This commit is contained in:
Bilal
2020-07-06 13:30:10 +02:00
parent 7cdb814d6d
commit 4f2fe52dd5
14 changed files with 123 additions and 7 deletions

View File

@@ -25,6 +25,11 @@
<%= form.rich_text_area :guardian_clause %>
<% end %>
</div>
<div id="signature_legal_text">
<%= form.form_group do %>
<%= form.rich_text_area :signature_legal_text %>
<% end %>
</div>
<% end %>
<%= field_set_tag content_tag(:span, t(".custom_fields.heading"), class: "h6 text-muted text-uppercase"), id: "custom_fields", style: "display: none;" do %>

View File

@@ -12,4 +12,8 @@
<%= fa_icon "refresh" %> <%= t "shared.clear" %>
<% end %>
</div>
<br>
<% if @contract_template && @contract_template.signature_legal_text.present? %>
<div class="alert alert-warning font-weight-bold"><%= @contract_template.signature_legal_text %></div>
<% end %>