aboutsummaryrefslogtreecommitdiffstats
path: root/_includes/feedback_form.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/feedback_form.html')
-rw-r--r--_includes/feedback_form.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/_includes/feedback_form.html b/_includes/feedback_form.html
new file mode 100644
index 000000000..b6dc936ac
--- /dev/null
+++ b/_includes/feedback_form.html
@@ -0,0 +1,31 @@
+<form id="feedback_form">
+ <h3>Mini survey</h3>
+ <div id="form_elements">
+ <p>Did you find what you were looking for on this page?</p>
+ <ul>
+ <li>
+ <label>
+ <input id="found_yes" name="found" type="radio" class="field radio" value="Yes" tabindex="1" onclick="$('#feedback-further-details').hide()"/>Yes
+ </label>
+ </li>
+ <li>
+ <label>
+ <input id="found_no" name="found" type="radio" class="field radio" value="No" tabindex="2" onclick="$('#feedback-further-details').show()"/>No
+ </label>
+ </li>
+ </ul>
+ <div id="feedback-further-details" hidden>
+ <p>
+ <label for="looking_for">What were you looking for?</label><br/>
+ <input id="id_looking_for" name="looking_for" />
+ </p>
+ </div>
+ <input id="url" name="url" type="hidden" />
+ <input type="hidden" name="question_no" value="1">
+ </div>
+
+ <p id="result"></p>
+ <input type="submit" value="Send"/>
+ <a href="" id="hide_survey">hide</a>
+
+</form>