<form action="<?php echo $_SERVER['PHP_SELF']; ?>?controller=pjAdminLocations&amp;action=pjActionCreate" method="post" id="frmCreateLocation">
	<input type="hidden" name="Location_create" value="1" />
    <div class="panel-heading bg-completed">
        <p class="lead m-n"><?php __('infoAddLocationTitle');?></p>
    </div><!-- /.panel-heading -->

    <div class="panel-body">
        <label class="control-label"><?php __('lblLocationName');?></label>
        <div>
            <input type="text" class="form-control" name="location_name" id="location_name" placeholder="Enter a location" data-msg-required="<?php __('plugin_base_this_field_is_required', false, true);?>">	
        </div>

        <?php
          $u_statarr = __('u_statarr', true)
        ?>
        <div class="form-group">
             <label class="control-label"><?php __('lblStatus'); ?></label>
            <div class="switch">
                <div class="onoffswitch onoffswitch-data" style="width:72px !important;">
                    <input type="checkbox" class="onoffswitch-checkbox" name="status" id="status" checked>
                   <label class="onoffswitch-label" for="status">
                        <span class="onoffswitch-inner" data-on="<?php echo $u_statarr['T'];?>" data-off="<?php echo $u_statarr['F'];?>"></span>
                        <span class="onoffswitch-switch"></span>
                    </label>
                </div>
            </div>
        </div><!-- /.form-group -->
        
		<div class="m-t-lg">
            <button type="submit" class="ladda-button btn btn-primary btn-lg btn-phpjabbers-loader pull-left" data-style="zoom-in" style="margin-right: 15px;">
                <span class="ladda-label"><?php __('btnSave'); ?></span>
                <?php include $controller->getConstant('pjBase', 'PLUGIN_VIEWS_PATH') . 'pjLayouts/elements/button-animation.php'; ?>
            </button>
            <button type="button" class="btn btn-white btn-lg pull-right pjFdBtnCancel"><?php __('btnCancel'); ?></button>
        </div><!-- /.clearfix -->
    </div><!-- /.panel-body -->
</form>