{% extends request.ajax ? "layout_blank.phtml" : "layout_default.phtml" %}
{% import "macro_functions.phtml" as mf %}
{% set active_menu = 'support' %}
{% block meta_title %}Canned category{% endblock %}

{% block content %}
<div class="widget simpleTabs nomargin">

    <div class="head">
        <h5>{% trans 'Canned category' %}</h5>
    </div>
    
    <form method="post" action="admin/support/canned_category_update" class="mainForm save api-form" data-api-redirect="support/canned-responses">
        <fieldset>
            <div class="rowElem">
                <label>{% trans 'Title' %}:</label>
                <div class="formRight">
                    <input type="text" name="title" value="{{category.title}}" required="required" placeholder=""/>
                </div>
                <div class="fix"></div>
            </div>

            <input type="submit" value="{% trans 'Update' %}" class="greyishBtn submitForm" />
            <input type="hidden" name="id" value="{{ category.id }}"/>
        </fieldset>
    </form>
    
</div>

{% endblock %}
