{% extends "components/base.html" %}
{% block main_area %}
<h1>Create Ansible Job</h1>
<form method="POST">
    {% csrf_token %}
    <label for="id_name">Name:</label>
    {{ form.name }}

    <label for="id_playbook_content">Playbook content:</label>
    {{ form.playbook_content }}

    <label for="id_inventory_content">Inventory content:</label>
    {{ form.inventory_content }}

    <button type="submit" class="btn btn-primary">Create</button>
    <a href="{% url 'ansible_manager:job_list' %}" class="btn btn-secondary">Cancel</a>
</form>
{% endblock %}
