fix new and edit form models

This commit is contained in:
Bilal
2020-07-13 20:05:07 +02:00
parent f44eca5328
commit 0741f8a230
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
<div class="card shadow-sm">
<%= card_header text: t(".heading"), close_action_path: [@project, :contract_templates] %>
<div class="card-body">
<%= render "form", project: @project, contract_template: @contract_template %>
<%= render "form", model: @contract_template, project: @project, contract_template: @contract_template %>
</div>
</div>