
<div class="card panel-fcs-border shadow-sm">
    <div class="card-header">
        <h2 class="card-title-fcs">[% $user->gettext('Kategorie') %]</h2>
    </div>
    <div class="card-body">
        <div class="offset-md-3 col-lg-6">
            <div class="card panel-info shadow-sm rounded">
                <div class="card-header">
                    <div class="row">
                        <div class="col-lg-6">
                            <h3 class="card-title-fcs">[% $user->gettext('Kategorienzuordnung') %]</h3>
                        </div>

                        <div class="col-lg-6 text-end">
                            <div class="btn-group">                                        
                                <input type="button" class="btn btn-outline-secondary" onclick="window.location.href = 'index.php?module=category'" value="[% $user->gettext('Zur&uuml;ck') %]">
                            </div>
                        </div>
                    </div>
                </div>

                <div class="card-body">

                    <div class="card panel-info shadow-sm rounded">
                        <div class="card-header">
                            <h3 class="card-title-fcs">[% $user->gettext('Gruppe') %]</h3>
                        </div>
                        <div class="card-body">
                            <table class="table table-striped">
                                <tbody>
                                    [% foreach from=$groups item=group key=groupid %]
                                        <tr>
                                            <td width="100%">&nbsp;[% $group %]</td>
                                            <td>
                                                [% if $user->hasRight(33) %]
                                                    <a href="index.php?module=category&amp;event=assignCategory&amp;id=[% $groupid %]"><img src="images/edit.gif" width="16" height="16" alt="" border="0"></a>
                                                    [% /if %]
                                            </td>
                                        </tr>
                                    [% /foreach %]
                                </tbody>
                            </table>
                        </div>
                    </div> 
                </div>
            </div>
        </div>
    </div>
</div>

