<div class="dialog-box">
<form id="workspace-save-form" class="form-horizontal" action="{% url lizard_map_workspace_save %}" method="POST">
{% csrf_token %}
<legend>Workspace opslaan</legend>

{% for field in form %}
<fieldset class="control-group {% if field.errors %}error{% endif %}">
    <label class="control-label" for="id_{{ field.name }}">{{ field.label }}</label>
    <div class="controls">
        {{ field }}
        {% if field.errors %}
            <span class="help-inline">{{ field.errors|join:'<br />' }}</span>
        {% endif %}
        <span class="help-block">{{ field.help_text }}</span>
    </div>
</fieldset>
{% endfor %}

<div class="control-group">
<div class="controls">
  <input id="workspace-save-submit"
	 class="alternative-submit open-new-window-after btn btn-success"
         type="submit"
         value="opslaan" />
</div>
</div>
</form>
</div>
