{% extends "base.html" %}
{% load staticfiles %}
{% load i18n %}
{% load crispy_forms_tags %}

{% block title %}{% trans "Renderer" %}{% endblock %}


{% block content %}
  <h1>{% trans "Renderer" %}</h1>
  <form class="form-horizontal" method="post" action="{% url 'renderer:render' %}">
    <div class="control-group">
      <div class="controls">
        <button type="submit" class="btn btn-primary">{% trans "Compile" %}</button>
      </div>
    </div>
      {% csrf_token %}
      {{ form|crispy }}
  </form>
  <div class="preview">
  {{ form.media }}
  </div>
{% endblock %}
