app/soc/templates/soc/survey/public.html
changeset 2721 e32118b84718
parent 2660 e2654d53a643
child 2801 0ee67cc9bd20
equal deleted inserted replaced
2720:3f652b37e177 2721:e32118b84718
    10 distributed under the License is distributed on an "AS IS" BASIS,
    10 distributed under the License is distributed on an "AS IS" BASIS,
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12 See the License for the specific language governing permissions and
    12 See the License for the specific language governing permissions and
    13 limitations under the License.
    13 limitations under the License.
    14 {% endcomment %}
    14 {% endcomment %}
       
    15 {% load forms_helpers %}
    15 
    16 
    16 {% block scripts %}
    17 {% block scripts %}
    17 {{ block.super }}
    18 {{ block.super }}
    18 <script type="text/javascript" src="/soc/content/js/survey-default-text-090627.js"></script>
    19 <script type="text/javascript" src="/soc/content/js/survey-default-text-090627.js"></script>
    19 <script type="text/javascript" src="/soc/content/js/survey-take-090708.js"></script>
    20 <script type="text/javascript" src="/soc/content/js/survey-take-090708.js"></script>
    20 <script type="text/javascript" src="/jquery/jquery-growfield.js"></script>
    21 <script type="text/javascript" src="/jquery/jquery-growfield.js"></script>
    21 {% endblock %}
       
    22 
       
    23 {% block page_title %}
       
    24 {{ entity.title }}
       
    25 {% endblock %}
    22 {% endblock %}
    26 
    23 
    27 {% block header_title %}
    24 {% block header_title %}
    28 {{ entity.title }}
    25 {{ entity.title }}
    29 {% endblock %}
    26 {% endblock %}
    31 {% block body %}
    28 {% block body %}
    32 <div id="created">Last modified on {{ entity.modified }} by {{ entity.modified_by.name }}</div>
    29 <div id="created">Last modified on {{ entity.modified }} by {{ entity.modified_by.name }}</div>
    33 
    30 
    34 {% if survey_form %}
    31 {% if survey_form %}
    35 
    32 
    36   {% load forms_helpers %}
       
    37   <form method="get" onsubmit="javascript:return false">
    33   <form method="get" onsubmit="javascript:return false">
       
    34   {% block page_description %}
    38     This page gives a preview of how users will see the Survey.
    35     This page gives a preview of how users will see the Survey.
       
    36   {% endblock %}
    39 
    37 
    40     {% if entity.content %}
    38     {% if entity.content %}
    41       <div id="survey_description">
    39       <div id="survey_description">
    42         {{ entity.content|safe }}
    40         {{ entity.content|safe }}
    43       </div>
    41       </div>