<?php
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>

<form enctype="multipart/form-data" action="" method="post" id="remsto-client-feedback-leave-feedback-form" accept-charset="UTF-8">
    <div>
        <input type="hidden" name="parent_type" value="0" />
        <input type="hidden" name="feedback_id" value="{{id}}" />
        <div class="form-item form-type-textarea form-item-stood-out">
            <label for="edit-stood-out">
              What stood out about the service you received?
              <span class="form-required required" title="This field is required.">*</span>
            </label>
            <div class="form-textarea-wrapper resizable">
                <textarea maxlength="{{display_stood_out_length}}" class="maxlength form-textarea" id="edit-stood-out" name="stood_out" cols="60" rows="5">{{stood_out}}</textarea>
                <div id="edit-stood-out-counter" class="eq3f-counter">{{display_stood_out_length}} characters left.</div>
            </div>
        </div>
        <div class="form-item form-type-radios form-item-recommend">
            <label for="edit-recommend">Would you recommend our services? <span class="form-required required" title="This field is required.">*</span></label>
            <div id="edit-recommend" class="form-radios"><div class="form-item form-type-radio form-item-recommend">
                    <input type="radio" id="edit-recommend-1" name="recommend" value="1" {% if recommend == 1 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-recommend-1">Yes </label>

                </div>
                <div class="form-item form-type-radio form-item-recommend">
                    <input type="radio" id="edit-recommend-0" name="recommend" value="0" {% if recommend == 0 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-recommend-0">No </label>

                </div>
                <div class="form-item form-type-radio form-item-recommend">
                    <input type="radio" id="edit-recommend-1--2" name="recommend" value="-1" {% if recommend == -1 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-recommend-1--2">N/A </label>

                </div>
            </div>
        </div>
        
        <!--
        <div class="form-item form-type-textfield form-item-staff-service">
            <label for="edit-staff-service">Staff member served by or service(s) provided </label>
            <input type="text" id="edit-staff-service" name="staff_service" value="{{staff_service}}" size="60" maxlength="128" class="form-text" />
        </div>
        -->
        
        {{staff_taxonomy_element}}

        
        <div class="form-item form-type-radios form-item-rating-promised">
            <label for="edit-rating-promised">Was the service delivered as promised? <span class="form-required required" title="This field is required.">*</span></label>
            <div id="edit-rating-promised" class="form-radios"><div class="form-item form-type-radio form-item-rating-promised">
                    <input type="radio" id="edit-rating-promised-20" name="rating_promised" value="20" {% if rating_promised == 20 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-promised-20">1 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-promised">
                    <input type="radio" id="edit-rating-promised-40" name="rating_promised" value="40" {% if rating_promised == 40 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-promised-40">2 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-promised">
                    <input type="radio" id="edit-rating-promised-60" name="rating_promised"  value="60" {% if rating_promised == 60 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-promised-60">3 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-promised">
                    <input type="radio" id="edit-rating-promised-80" name="rating_promised" value="80" {% if rating_promised == 80 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-promised-80">4 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-promised">
                    <input type="radio" id="edit-rating-promised-100" name="rating_promised" value="100" {% if rating_promised == 100 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-promised-100">5 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-promised">
                    <input type="radio" id="edit-rating-promised-0" name="rating_promised" value="0" {% if rating_promised == 0 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-promised-0">N/A </label>

                </div>
            </div>
        </div>
        <div class="form-item form-type-radios form-item-rating-value">
            <label for="edit-rating-value">Did they offer good value for money? <span class="form-required required" title="This field is required.">*</span></label>
            <div id="edit-rating-value" class="form-radios"><div class="form-item form-type-radio form-item-rating-value">
                    <input type="radio" id="edit-rating-value-20" name="rating_value" value="20" {% if rating_value == 20 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-value-20">1 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-value">
                    <input type="radio" id="edit-rating-value-40" name="rating_value" value="40" {% if rating_value == 40 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-value-40">2 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-value">
                    <input type="radio" id="edit-rating-value-60" name="rating_value" value="60" {% if rating_value == 60 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-value-60">3 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-value">
                    <input type="radio" id="edit-rating-value-80" name="rating_value" value="80" {% if rating_value == 80 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-value-80">4 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-value">
                    <input type="radio" id="edit-rating-value-100" name="rating_value" value="100" {% if rating_value == 100 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-value-100">5 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-value">
                    <input type="radio" id="edit-rating-value-0" name="rating_value" value="0" {% if rating_value == 0 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-value-0">N/A </label>

                </div>
            </div>
        </div>
        <div class="form-item form-type-radios form-item-rating-helpful">
            <label for="edit-rating-helpful">Were they considerate and helpful? <span class="form-required required" title="This field is required.">*</span></label>
            <div id="edit-rating-helpful" class="form-radios"><div class="form-item form-type-radio form-item-rating-helpful">
                    <input type="radio" id="edit-rating-helpful-20" name="rating_helpful" value="20" {% if rating_helpful == 20 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-helpful-20">1 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-helpful">
                    <input type="radio" id="edit-rating-helpful-40" name="rating_helpful" value="40" {% if rating_helpful == 40 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-helpful-40">2 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-helpful">
                    <input type="radio" id="edit-rating-helpful-60" name="rating_helpful" value="60" {% if rating_helpful == 60 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-helpful-60">3 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-helpful">
                    <input type="radio" id="edit-rating-helpful-80" name="rating_helpful" value="80" {% if rating_helpful == 80 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-helpful-80">4 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-helpful">
                    <input type="radio" id="edit-rating-helpful-100" name="rating_helpful" value="100" {% if rating_helpful == 100 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-helpful-100">5 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-helpful">
                    <input type="radio" id="edit-rating-helpful-0" name="rating_helpful" value="0" {% if rating_helpful == 0 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-helpful-0">N/A </label>

                </div>
            </div>
        </div>
        <div class="form-item form-type-radios form-item-rating-communication">
            <label for="edit-rating-communication">Please rate the quality of communication <span class="form-required required" title="This field is required.">*</span></label>
            <div id="edit-rating-communication" class="form-radios"><div class="form-item form-type-radio form-item-rating-communication">
                    <input type="radio" id="edit-rating-communication-20" name="rating_communication" value="20" {% if rating_communication == 20 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-communication-20">1 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-communication">
                    <input type="radio" id="edit-rating-communication-40" name="rating_communication" value="40" {% if rating_communication == 40 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-communication-40">2 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-communication">
                    <input type="radio" id="edit-rating-communication-60" name="rating_communication" value="60" {% if rating_communication == 60 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-communication-60">3 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-communication">
                    <input type="radio" id="edit-rating-communication-80" name="rating_communication" value="80" {% if rating_communication == 80 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-communication-80">4 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-communication">
                    <input type="radio" id="edit-rating-communication-100" name="rating_communication" value="100" {% if rating_communication == 100 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-communication-100">5 </label>

                </div>
                <div class="form-item form-type-radio form-item-rating-communication">
                    <input type="radio" id="edit-rating-communication-0" name="rating_communication" value="0" {% if rating_communication == 0 %}checked="checked"{% endif %} class="form-radio" />  <label class="option" for="edit-rating-communication-0">N/A </label>

                </div>
            </div>
        </div>
        <div class="form-item form-type-textarea form-item-better">
            <label for="edit-better">If anything, what could we do better? </label>
            <div class="form-textarea-wrapper resizable">
                <textarea maxlength="2000" class="maxlength form-textarea" id="edit-better" name="better" cols="60" rows="5">{{better}}</textarea>
                <div id="edit-better-counter" class="eq3f-counter">2000 characters left.</div>
            </div>
        </div>
        <div class="form-item form-type-checkbox form-item-anonymous">
            <input type="checkbox" id="edit-anonymous" name="anonymous" value="1" class="form-checkbox" {{anonymous_checked}} />  <label class="option" for="edit-anonymous">If you wish your feedback to be kept anonymous please click here </label>

        </div>
        <fieldset class="form-wrapper" id="edit-your-details-group"><legend><span class="fieldset-legend">Your Details</span></legend><div class="fieldset-wrapper"><div class="form-item form-type-textfield form-item-first-name">
                    <label for="edit-first-name">First name </label>
                    <input type="text" id="edit-first-name" name="first_name" value="{{first_name}}" size="60" maxlength="128" class="form-text" />
                </div>
                <div class="form-item form-type-textfield form-item-last-name">
                    <label for="edit-last-name">Last name </label>
                    <input type="text" id="edit-last-name" name="last_name" value="{{last_name}}" size="60" maxlength="128" class="form-text" />
                </div>
                <div class="form-item form-type-textfield form-item-email">
                    <label for="edit-email">Your email address </label>
                    <input type="text" id="edit-email" name="email" value="{{email}}" size="60" maxlength="128" class="form-text" />
                </div>
            </div></fieldset>
        {{service_taxonomy}}
        {{additional_taxonomy}}
        {{optional_questions}}
        {{moderation_section}}
        {{captcha}}
        <input type="submit" id="edit-submit" name="op" value="{{feedback_add_text}}" class="form-submit" /></div>
        <input type="hidden" name="extra_rating_question_1" value="0" />
        <input type="hidden" name="extra_rating_question_2" value="0" />
        <input type="hidden" name="extra_rating_question_3" value="0" />
        <input type="hidden" name="extra_rating_question_4" value="0" />
        <input type="hidden" name="extra_worded_question_1" value="" />
        <input type="hidden" name="extra_worded_question_2" value="" />
        <input type="hidden" name="extra_worded_question_3" value="" />
        <input type="hidden" name="extra_worded_question_4" value="" />
        <div id="error-msg" class="error-msg">
            <ul>
                {% if error_message %}
                    <li>{{error_message}}</li>
                    <script type="text/javascript">
                        jQuery(document).ready(function() {
                            jQuery(window).scrollTop(jQuery('#error-msg').offset().top-100);
                        });
                    </script>
                {% endif %}
            </ul>
        </div>
</form>

