{% extends "base.html" %}
{% block title %}{{ title|default:"Branch Form" }}{% endblock %}
{% block content %}
<div class="max-w-2xl">
  <h1 class="text-2xl font-bold mb-4">{{ title|default:"Branch Form" }}</h1>
  <form method="post" class="card bg-base-100 border border-base-200 p-6 space-y-4">
    {% csrf_token %}
    {{ form.as_p }}
    <div class="flex gap-2">
      <button class="btn btn-primary">Save</button>
      <a href="{% url 'inventory:branch_list' %}" class="btn btn-ghost">Cancel</a>
    </div>
  </form>
</div>
{% endblock %}
