{% extends "base.html" %}
{% load static %}

{% block title %}Container Type: {{ container_type.named_id }}{% endblock %}

{% block content %}
<div class="container">

  <div class="row">
    <div class="col-sm-12">

        <h2>Container Type: {{ container_type.named_id }}</h2>
        <div>{{ container_type.description }}</div>
    </div>
  </div>
  <div class="row">
    <div class="container">
      <div class="row">
        <div class="col-sm-2">Size:</div><div class="col-sm-3">{{ container_type.width }}mm x {{ container_type.length }}mm x {{ container_type.height }}mm</div>
        <div class="col-sm-2">Inner Size:</div><div class="col-sm-3">
		{% if container_type.inner_width and container_type.inner_length and container_type.inner_height %}
		{{ container_type.inner_width }}mm x {{ container_type.inner_length }}mm x {{ container_type.inner_height }}mm
		{% endif %}
	</div>
      </div>
      <div class="row">
        <div class="col-sm-2">Has Cover:</div><div class="col-sm-3">{% if container_type.has_cover %} yes {% else %} no {% endif %}</div>
        <div class="col-sm-2">Can hold Containers:</div><div class="col-sm-3">{% if container_type.contains_container %} yes {% else %} no {% endif %}</div>
      </div>
    </div>
  </div>

<!-- Action buttons -->
<div class="row">

  <div class="col-sm-12">
  </div>

</div>
<!-- End Action buttons -->

</div>
{% endblock content %}

