
{% extends '../layouts/default.html' %}

{% block main %}
<div class="container pb-sm-40">
	{% for sectionGrup in sectionGrups %}
	<h1>{{ sectionGrup.sectionGrup }} Section ' ları</h1>
	{% endfor %}
  </div>

{% endblock %}

{% block content %}

<div class="container pb-sm-40">
      <div class="section-title">
{% for section in sections %}
	<span class="text-theme-colored2">Section Tipi :</span> {{section.sectionType}}
    {% include 'show.html' %}
     <form action="{{ '/sections/' + section.id }}" method="post" onsubmit="return confirm('Are you sure?')">
    <br>
    <input type="hidden" name="_csrf" value="{{ csrf_token }}">
    <a href="{{ '/sections/' + section._id + '/edit' }}" title="edit" class="btn btn-default">
      Edit
    </a>
    &nbsp;
    <input type="hidden" name="_method" value="DELETE">
    <button class="btn btn-danger" type="submit">Delete</button>
  </form>
  <hr>
{% endfor %}
</div>
   </div>
  
    
{% endblock %}



