<div class="form-group">
    <label class="col-sm-2 control-label" for="megamenu-{{ menu_id }}-status">{{ entry_status }}</label>
    <div class="col-sm-10">
        <div class="toggle-group">
            <input type="checkbox" name="oct_megamenu[{{ menu_id }}][status]" {% if oct_menu.status is defined and oct_menu.status %}checked="checked"{% endif %} id="megamenu-{{ menu_id }}-status" tabindex="1">
            <label for="megamenu-{{ menu_id }}-status"></label>
            <div class="onoffswitch pull-left" aria-hidden="true">
                <div class="onoffswitch-label">
                    <div class="onoffswitch-inner"></div>
                    <div class="onoffswitch-switch"></div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="form-group">
	<label class="col-sm-2 control-label">{{ entry_menu_image }}</label>
	<div class="col-sm-10">
        <a href="" id="thumb-menuimage{{ menu_id }}" data-toggle="image" class="img-thumbnail">
            <img src="{{ thumb }}" style="min-width:50px;min-height:50px;" alt="" title="" data-placeholder="{{ placeholder }}" />
        </a>
		<input type="hidden" name="oct_megamenu[{{ menu_id }}][settings][image]" value="{{ oct_menu.settings.image }}" id="input-menuimage{{ menu_id }}" />
	</div>
</div>
<div class="form-group">
    <div class="col-sm-6">
        <label class="col-sm-4 control-label" for="target{{ menu_id }}">{{ entry_menu_target }}</label>
        <div class="col-sm-8">
            <div class="toggle-group">
                <input type="checkbox" name="oct_megamenu[{{ menu_id }}][settings][target]" {% if oct_menu.settings.target %}checked="checked"{% endif %} id="target{{ menu_id }}" tabindex="1">
                <label for="target{{ menu_id }}"></label>
                <div class="onoffswitch pull-left" aria-hidden="true">
                    <div class="onoffswitch-label">
                        <div class="onoffswitch-inner"></div>
                        <div class="onoffswitch-switch"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-6">
        <label class="col-sm-4 control-label" for="megamenu-{{ menu_id }}-sort_order">{{ entry_menu_sort }}</label>
        <div class="col-sm-8">
            <input type="text" name="oct_megamenu[{{ menu_id }}][sort_order]" value="{{ oct_menu.sort_order is defined ? oct_menu.sort_order : '' }}" placeholder="{{ entry_menu_sort }}" id="megamenu-{{ menu_id }}-sort_order" class="form-control" />
        </div>
    </div>
</div>
