Permalink
Browse files

add_url not hasurl for mobile

  • Loading branch information...
davedash committed Jun 7, 2011
1 parent 3585139 commit b391ca8b1ffe83685e56eb719b7dab4732c33bcf
Showing with 5 additions and 5 deletions.
  1. +5 −5 apps/feedback/templates/feedback/mobile/feedback-form.html
@@ -1,5 +1,5 @@
<section id="{{ type }}">
-
+
{% if form.errors %}
<input type="hidden" id="errors" name="errors" value="{{ type }}" />
{% endif %}
@@ -38,7 +38,7 @@ <h1>{{ _('Give Feedback') }}</h1>
</p>
{% endif %}
</header>
-
+
<div class="field">
{% if type == 'idea' %}
{% set placeholder = 'Enter your idea here.' %}
@@ -49,11 +49,11 @@ <h1>{{ _('Give Feedback') }}</h1>
{{ form.description|field_attrs(placeholder=placeholder) }}
{{ form.description.errors }}
</div>
-
+
{% if type != 'idea' %}
<div class="field">
<label for="{{ type }}-hasurl">
- <input id="{{ type }}-hasurl" name="hasurl" type="checkbox" />
+ <input id="{{ type }}-hasurl" name="add_url" type="checkbox" />
{{ _('Include your last visited site?') }}
</label>
{{ form.url }}
@@ -72,7 +72,7 @@ <h1>{{ _('Give Feedback') }}</h1>
</span>
</p>
</div>
-
+
{% for hidden in form.hidden_fields() %}
{{ hidden }}
{% endfor %}

0 comments on commit b391ca8

Please sign in to comment.