{% extends "atlas/base.html" %}
{% load crispy_forms_tags %}

{% block content %}
<h2>Update Packet: {{ arm.name }}</h2>
<p class="text-muted">Study: {{ study.name }}</p>

<form method="post" class="card card-body bg-dark border-secondary">
    {% csrf_token %}
    {{ form|crispy }}
    <div class="mt-3 d-flex gap-2">
        <button class="btn btn-primary" type="submit">Save</button>
        <a class="btn btn-outline-secondary" href="{% url 'atlas:research_study_detail' study.pk %}">Back</a>
    </div>
</form>
{% endblock %}
