Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

Commit

Permalink
add_url not hasurl for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
davedash committed Jun 7, 2011
1 parent a792596 commit a88a50c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 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 %}
Expand Down Expand Up @@ -38,7 +38,7 @@ <h1>{{ _('Give Feedback') }}</h1>
</p>
{% endif %}
</header>

<div class="field">
{% if type == 'idea' %}
{% set placeholder = 'Enter your idea here.' %}
Expand All @@ -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 }}
Expand All @@ -72,7 +72,7 @@ <h1>{{ _('Give Feedback') }}</h1>
</span>
</p>
</div>

{% for hidden in form.hidden_fields() %}
{{ hidden }}
{% endfor %}
Expand Down

0 comments on commit a88a50c

Please sign in to comment.