Permalink
Browse files

Only show post "interested" for contributors.

  • Loading branch information...
1 parent 4ff9102 commit 6d4fa5381284d292a5d92a838ff21f0ff3f92512 @rlr rlr committed Nov 28, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 apps/users/templates/users/includes/macros.html
@@ -42,7 +42,9 @@ <h3>{{ _('Login Problems?') }}</h3>
<form method="post" action="{{ action if action != None else
url('users.register') }}">
{{ csrf|safe }}
- <input type="hidden" name="interested" id="id_for_interested" value="{{ 'yes' if contributor else 'no' }}">
+ {% if contributor %}
+ <input type="hidden" name="interested" id="id_for_interested" value="yes" />
+ {% endif %}
<ul>
{% for field in form if field.name != 'interested' %}
<li class="cf">{{ field|label_with_help }} {{ field }}</li>

0 comments on commit 6d4fa53

Please sign in to comment.