{% extends "base.html" %}
{% block title %}New Location{% endblock %}
{% block content %}
<div class="max-w-2xl">
  <div class="flex items-center justify-between mb-4">
    <h1 class="text-2xl font-bold">Create Location</h1>
    <a href="{% url 'inventory:branch_create' %}" class="btn btn-outline btn-sm">New Branch</a>
  </div>
  <form method="post" class="card bg-base-100 border border-base-200 p-6 space-y-4">
    {% csrf_token %}
    {{ form.as_p }}
    <button class="btn btn-primary">Save</button>
  </form>
</div>
{% endblock %}
