{% extends "SsoBackendBundle:token:base.html.twig" %}

{% block title %}{{ parent() }} - Edit{% endblock %}

{% block body %}
    <br/><br/>
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">Edit Service Group</h3>
        </div>
        <div class="panel-body">
            {{ form_start(form) }}

            {{ form_widget(form.servicenameid) }}

            {{ form_label(form.servicename) }}
            {{ form_errors(form.servicename) }}
            {{ form_widget(form.servicename) }}

            <br/>

            <ul class="record_actions pull-left">
                <li>
                    <a href="{{ path('_admin_backend_servicetoken_index') }}"
                       class="btn btn-default">Cancel</a></li>
                <li>{{ form_widget(form.submit) }}</li>
            </ul>
            {{ form_end(form) }}
        </div>
    </div>
{% endblock %}
