{% extends "site/layout/base_workspace.html" %}
{% load com %}
{% load i18n %}

{% block title %}
{% blocktrans %}Contact{% endblocktrans %}
{% endblock %}

{% block head %}
{% endblock %}

{% block content %}

<h1 class="main_title">
{% if CONF.f_get_logo_url %}
<div><a title="{% blocktrans %}back to workspace{% endblocktrans %}" alt="logo" class="title" href="{% url index %}"><img src="{{ CONF.f_get_logo_url }}" /></a></div>
{% else %}

{% if CONF.workspace_name %}
<a title="{% blocktrans %}back to workspace{% endblocktrans %}" class="title" href="{% url index %}">{{ CONF.workspace_name }}</a>
{% endif %}
{% endif %}
</h1>
<h1>Contact</h1>
<form id="profile" enctype="multipart/form-data" class="wizard-form" action="." method="post">
<table class="wide_form">
    <tbody>
        {% include "site/macros/form_fields.html" %}
    <tr>
        <td style="vertical-align: top; width: 20%; text-align:right;">
        </td>
        <td>
            <label></label>
            <input name="send" type="submit" value="{% blocktrans %}Send{% endblocktrans %}"/>
            
		 	<input name="cancel" type="button" id="cancel_button" value="{% blocktrans %}Cancel{% endblocktrans %}"/>
		    <script type="text/javascript">
		    <!--
		    $(document).ready(function(){
		        $("#cancel_button").click(function (e) { 
		            window.location = "{% url index %}";
		            e.stopPropagation(); 
		          });                
		    }) ;
		    -->
		    </script>            
        </td>
    </tr>
    </tbody>
</table>
</form>
{% endblock %}
