Skip to content
Snippets Groups Projects
Commit e76f2e7f authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

fix 500 upon contract submit

parent c870ccee
No related branches found
No related tags found
No related merge requests found
Pipeline #11964 passed
......@@ -82,13 +82,13 @@ class SigneeSignatureInline(NestedStackedInline):
extra = 0
class ContractFileInline(admin.TabularInline):
class ContractFileInline(NestedTabularInline):
model = ContractFile
form = ContractFileAdminForm
extra = 0
class ContractIntentInline(admin.TabularInline):
class ContractIntentInline(NestedTabularInline):
model = ContractIntent
extra = 0
......
......@@ -22,6 +22,7 @@
<tr>
<td>
<a
class="underline"
href="{{ filing_area.url }}"
>{{ filing_area.name }}</a>
</td>
......
......@@ -33,6 +33,7 @@
<tr>
<td>
<a
class="underline"
href="{{ issue.url }}"
>{{ issue.name }}</a>
</td>
......
......@@ -21,6 +21,7 @@
<tr>
<td>
<a
class="underline"
href="{{ type.url }}"
>{{ type.name }}</a>
</td>
......
......@@ -21,6 +21,7 @@
<tr>
<td>
<a
class="underline"
href="{{ contractee.url }}"
>
<strong>{{ contractee.name }}</strong>
......
......@@ -21,6 +21,7 @@
<tr>
<td>
<a
class="underline"
href="{{ signee.url }}"
>
<strong>{{ signee.name }}</strong>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment