
<section class="PageHeader u-cf">

    <h1 class="PageHeader-title"><span>Edit</span> Brand</h1>

    <div class="PageHeader-wrapButton">
        <a href="/hr/{{ brand.category.path }}/{{ brand.id }}/{{ brand.slug }}/" target="_blank" class="Button Button--large Button--neutral" title="Preview brand">
            <i class="Button-icon fa fa-desktop"></i>
            <span class="Button-text">Preview brand</span>
        </a>
    </div>

</section>

<div class="withPanel" ng-class="{'is-panelActive': panelActive}">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <%= getForm('SharedForm:brand.yml').render('angular') %>
            </div>
        </div>
    </div>
    <% import 'Core/Angular/Macro/Partial.tpl' as macro_partial %>
    <%= macro_partial.Panels({
        'types': [
            { 'nameSingular': 'image', 'namePlural': 'images', 'icon': 'picture-o' },
            { 'nameSingular': 'file', 'namePlural': 'files', 'icon': 'file' }
        ]
    }) %>
</div>

<%= macro_partial.ActionBar() %>
