|
|
|
|
@ -10,7 +10,7 @@ |
|
|
|
|
<p id="success" style="display: none;"> |
|
|
|
|
{% trans 'Вы были успешно подписаны!' %} |
|
|
|
|
</p> |
|
|
|
|
<form id="event-news-subscribe-form" method="post" class="pw-form" action=".{# url 'events:subscribe' object.event_type object.url #}"> |
|
|
|
|
<form id="event-news-subscribe-form" method="post" class="pw-form" action="{% if object %}{% url 'events:subscribe' object.event_type object.url %}{% else %}.{% endif %}"> |
|
|
|
|
{% csrf_token %} |
|
|
|
|
{% if not user.is_authenticated or not user.contact_set.exists %} |
|
|
|
|
<div class="pwf-line"> |
|
|
|
|
|