{% extends "base.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% load tz %}


{% get_current_timezone as TIME_ZONE %}

{% block content %}
<div class="grid_12 alpha">
    <h1>Add Workout Manually</h1>
    <div class="grid_6 alpha">
      {% if form.errors %}
      <p style="color: red;">
        Please correct the error{{ form.errors|pluralize }} below.
      </p>
      {% endif %}
      
      <form id="importantform"
            enctype="multipart/form-data" action="" method="post">
        <table width=100%>
          {{ form.as_table }}
        </table>
        {% csrf_token %}
        <div id="formbutton" class="grid_1 suffix_1 omega">
          <input class="button green" type="submit" value="Save">
        </div>
      </form>
    </div>

    <div id="images" class="grid_6 omega">
      <p>&nbsp;</p>
      
    </div>
</div>
  

{% endblock %}
