-{% load i18n %}\r
-\r
-<div class="user-prompt">\r
- {% trans "Please select a reason bellow or use the text box to input your own reason." %}\r
- <select class="prompt-examples">\r
- {% for type in types %}\r
- <option value="{{ type }}">{{ type }}</option>\r
- {% endfor %}\r
- </select>\r
- <textarea>{{ types|first }}</textarea>\r
- <div class="prompt-buttons">\r
- <button class="prompt-cancel">{% trans "Cancel" %}</button><button class="prompt-submit">{% trans "Send" %}</button>\r
- </div>\r
-</div>\r
-<script>\r
-$('.user-prompt .prompt-examples').change(function() {\r
- $('.user-prompt textarea').val($(this).val()) \r
-})\r
+{% load i18n %}
+
+{% trans "Please select a reason bellow or use the text box to input your own reason." %}
+<select class="prompt-examples">
+ {% for type in types %}
+ <option value="{{ type }}">{{ type }}</option>
+ {% endfor %}
+</select>
+<textarea name="prompt">{{ types|first }}</textarea>
+<script>
+$('.prompt-examples').change(function() {
+ $('textarea[name=prompt]').val($(this).val())
+})