{% extends "base.html" %}
{% load semanticui %}
{% block content %}
  <form class= "ui form" method="post" action="{% url 'rotbot:add_curseword' %}">
    {% csrf_token %}
    <div class="ui horizontal basic segments">
      <div class="ui inverted segment">
        {{ curseadjective_formset.management_form }}
        {% for form in curseadjective_formset %}
          {{ form.non_field_errors }}
          {% render_form form %}
        {% endfor %}
      </div>
      <div class="ui inverted segment">
        {{ curseword_formset.management_form }}
        {% for form in curseword_formset %}
          {{ form.non_field_errors }}
          {% render_form form %}
        {% endfor %}
      </div>
    </div>
    <button class="ui right floated inverted positive button" type="submit" value="Submit"><i class="save icon"></i>Save</button>
    <a class="ui right floated inverted basic negative button" href="{% url 'rotbot:networks' %}">
      <i class="hand point left icon"></i>Back
    </a>
  </form>
{% endblock content %}
