<div data-dojo-type="dijit.layout.TabContainer" style="width:100%;" id="tab_systemsettings" data-dojo-props="doLayout:true, nested: true" title="{% trans "Settings" %}">

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Information" %}', doLayout:false, refreshOnShow: true{% if focus_form == "system.SysInfo" %}, selected:true{% endif %}, href: '{% url "system_info" %}'" tab="system.SysInfo" class="objrefresh">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "General" %}', doLayout:false, refreshOnShow: true{% if focus_form == "system.General" %}, selected:true{% endif %}, href: '{{ settings.get_edit_url }}?inline=true'" tab="system.General" class="objrefresh">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Boot" %}', doLayout:false {% if focus_form == "system.BootEnv" %},selected: true{% endif %}, href: '{% url "system_bootenv_datagrid" %}', parseOnLoad: true, refreshOnShow: true" tab="system.BootEnv" class="objrefresh">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Advanced" %}', doLayout:false {% if focus_form == "system.Advanced" %},selected: true{% endif %}, href: '{{ advanced.get_edit_url }}?inline=true', parseOnLoad: true, refreshOnShow: true" tab="system.Advanced" class="objrefresh">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Email" %}', doLayout:false {% if focus_form == "system.Email" %}, selected:true{% endif %}, href: '{{ email.get_edit_url }}?inline=true', refreshOnShow: true" tab="system.Email" class="objrefresh">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "System Dataset" %}', doLayout:false {% if focus_form == "system.SystemDataset" %},selected: true{% endif %}, href: '{{ systemdataset.get_edit_url }}?inline=true', parseOnLoad: true, refreshOnShow: true" tab="system.SystemDataset" class="objrefresh">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Tunables" %}', doLayout:false, refreshOnShow: true{% if focus_form == "system.Tunable.View" %}, selected:true{% endif %}, href: '{% url "freeadmin_system_tunable_datagrid" %}'" tab="system.Tunable.View" class="objrefresh data_system_Tunable">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Update" %}', doLayout:false, refreshOnShow: true{% if focus_form == "system.Update" %}, selected:true{% endif %}, href: '{% url "system_update_index" %}'" tab="system.Update" class="objrefresh data_system_Update">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "CAs" %}', doLayout:false, refreshOnShow: true{% if focus_form == "system.CertificateAuthority" %}, selected:true{% endif %}, href: '{% url "freeadmin_system_certificateauthority_datagrid" %}'" tab="system.CertificateAuthority" class="objrefresh data_system_certificateauthority">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Certificates" %}', doLayout:false, refreshOnShow: true{% if focus_form == "system.Certificate" %}, selected:true{% endif %}, href: '{% url "freeadmin_system_certificate_datagrid" %}'" tab="system.Certificate" class="objrefresh data_system_Certificate">
    </div>

    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{% trans "Support" %}', doLayout:false, refreshOnShow: true{% if focus_form == "system.Support" %}, selected:true{% endif %}, href: '{% url "support_home" %}'" tab="system.Support" class="objrefresh data_system_Support">
    </div>

{% for tab in hook_tabs %}
    <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="title: '{{ tab.name|escapejs }}'
    {% if focus_form == tab.focus %}, selected: true{% endif %},
    href: '{{ tab.url }}',
    refreshOnShow: true" class="objrefresh data_system_{{ tab.name }}" tab="{{ tab.focus }}" id="tab_{{ tab.name }}">
    </div>
{% endfor %}
</div>
