{% extends 'admin_frontend/base.html' %}
{% load crispy_forms_tags breadcrumbs %}
{% block title %}{% if item %}Edit Service{% else %}New Service{% endif %}{% endblock %}
{% block content %}
{% render_breadcrumbs breadcrumbs %}
<div class="flex items-center justify-between mb-4">
  <h1 class="text-xl font-semibold">{% if item %}Edit Service{% else %}New Service{% endif %}</h1>
  <a href="{% url 'recycle_core:services_list' %}" class="btn-outline">Back</a>
  <style>.btn-outline{border:1px solid #cbd5e1;padding:.375rem .5rem;border-radius:.375rem}</style>
</div>

{% include 'admin_frontend/_form.html' with form=form cancel_url=cancel_url submit_label='Save' %}
{% endblock %}
