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): ...@@ -82,13 +82,13 @@ class SigneeSignatureInline(NestedStackedInline):
extra = 0 extra = 0
class ContractFileInline(admin.TabularInline): class ContractFileInline(NestedTabularInline):
model = ContractFile model = ContractFile
form = ContractFileAdminForm form = ContractFileAdminForm
extra = 0 extra = 0
class ContractIntentInline(admin.TabularInline): class ContractIntentInline(NestedTabularInline):
model = ContractIntent model = ContractIntent
extra = 0 extra = 0
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
<tr> <tr>
<td> <td>
<a <a
class="underline"
href="{{ filing_area.url }}" href="{{ filing_area.url }}"
>{{ filing_area.name }}</a> >{{ filing_area.name }}</a>
</td> </td>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<tr> <tr>
<td> <td>
<a <a
class="underline"
href="{{ issue.url }}" href="{{ issue.url }}"
>{{ issue.name }}</a> >{{ issue.name }}</a>
</td> </td>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<tr> <tr>
<td> <td>
<a <a
class="underline"
href="{{ type.url }}" href="{{ type.url }}"
>{{ type.name }}</a> >{{ type.name }}</a>
</td> </td>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<tr> <tr>
<td> <td>
<a <a
class="underline"
href="{{ contractee.url }}" href="{{ contractee.url }}"
> >
<strong>{{ contractee.name }}</strong> <strong>{{ contractee.name }}</strong>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<tr> <tr>
<td> <td>
<a <a
class="underline"
href="{{ signee.url }}" href="{{ signee.url }}"
> >
<strong>{{ signee.name }}</strong> <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