diff --git a/django/didgeridoo/currencies/forms.py b/django/didgeridoo/currencies/forms.py index 29e2cc2..6dc1071 100644 --- a/django/didgeridoo/currencies/forms.py +++ b/django/didgeridoo/currencies/forms.py @@ -8,10 +8,10 @@ class CurrenciesForm(forms.Form): required=False, empty_label='CHF', label='CURENCIES', - widget=forms.Select( - attrs={ - 'onchange': 'currency.submit();', - 'class': 'btn-primary dropdown-toggle' - } - ) + # widget=forms.Select( + # attrs={ + # 'onchange': 'currency.submit();', + # 'class': 'btn-primary dropdown-toggle' + # } + #) ) diff --git a/django/didgeridoo/webshop/templates/webshop/nav.html b/django/didgeridoo/webshop/templates/webshop/nav.html index fac5436..3800432 100644 --- a/django/didgeridoo/webshop/templates/webshop/nav.html +++ b/django/didgeridoo/webshop/templates/webshop/nav.html @@ -17,7 +17,8 @@ {% if article_view %}
{{ currencies_form.as_ul }} - {% csrf_token %} + {% csrf_token %} +
  • {% endif %} diff --git a/django/didgeridoo/webshop/templates/webshop/order.html b/django/didgeridoo/webshop/templates/webshop/order.html index 6f0ab0b..301f7aa 100644 --- a/django/didgeridoo/webshop/templates/webshop/order.html +++ b/django/didgeridoo/webshop/templates/webshop/order.html @@ -37,7 +37,7 @@ {{ order_position.article.stock }} {{ order_position.amount }} - {{ order_position.article.price_in_chf }} + {{ price }} {{ currency_name }}