Skip to content
Snippets Groups Projects
Commit dbe7daa2 authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Improve submission interface

Hide protocol link for AK and wish submission form
Fix js/css for wish submission
parent a8148935
No related branches found
No related tags found
No related merge requests found
Pipeline #4165 passed
...@@ -113,7 +113,7 @@ class AKForm(AvailabilitiesFormMixin, forms.ModelForm): ...@@ -113,7 +113,7 @@ class AKForm(AvailabilitiesFormMixin, forms.ModelForm):
class AKSubmissionForm(AKForm): class AKSubmissionForm(AKForm):
class Meta(AKForm.Meta): class Meta(AKForm.Meta):
exclude = ['link'] exclude = ['link', 'protocol_link']
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
...@@ -139,7 +139,7 @@ class AKEditForm(AKForm): ...@@ -139,7 +139,7 @@ class AKEditForm(AKForm):
class AKWishForm(AKSubmissionForm): class AKWishForm(AKSubmissionForm):
class Meta(AKForm.Meta): class Meta(AKForm.Meta):
exclude = ['owners', 'link'] exclude = ['owners', 'link', 'protocol_link']
class AKOwnerForm(forms.ModelForm): class AKOwnerForm(forms.ModelForm):
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
{% block title %}{% trans "AKs" %}: {{ event.name }} - {% trans "New AK Wish" %}{% endblock %} {% block title %}{% trans "AKs" %}: {{ event.name }} - {% trans "New AK Wish" %}{% endblock %}
{% block imports %} {% block imports %}
<link rel="stylesheet" href="{% static 'common/vendor/chosen-js/chosen.css' %}">
<link rel="stylesheet" href="{% static 'common/css/bootstrap-chosen.css' %}">
<link href='{% static 'AKSubmission/vendor/fullcalendar3/fullcalendar.min.css' %}' rel='stylesheet'/> <link href='{% static 'AKSubmission/vendor/fullcalendar3/fullcalendar.min.css' %}' rel='stylesheet'/>
<link href='{% static 'AKSubmission/css/availabilities.css' %}' rel='stylesheet'/> <link href='{% static 'AKSubmission/css/availabilities.css' %}' rel='stylesheet'/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment