h4(id="locTitle", style="margin-left:8px") {{title}}
div.row-fuid
    form(id="formLocation", name="formLocation", ng-submit="save()")
        div.form
            table
                tr
                    td
                        label.bold #{__("Code")}
                    td
                        input(id="locCode", data-ng-model="location.code", type="text", style="margin-left: 15px;", ng-disabled="edit", maxlength="20", required)
                tr
                    td
                        label.bold #{__("Name")}
                    td
                        input(id="locName", data-ng-model="location.name", type="text", style="margin-left: 15px;", maxlength="20", required)
                tr
                    td
                        label.bold #{__("Description")}
                    td
                        input(id="locDesc", data-ng-model="location.description", type="text", style="margin-left: 15px;", maxlength="60", required)

        div(data-ng-show="duplicatedLocation", class="alert alert-error")
           button(type='button', data-ng-click='closeWarning()', class="close") &#9447;
           ul
               li(ng-show="duplicatedLocation") #{__('Duplicated Location Code')}
        div.line
        br
        div.row-fluid(align="center")
            button(id='btnCancelLoc', class='btn btn-primary', data-ng-click="cancel()") #{__('Cancel')}
            &nbsp;
            button(id="btnSaveLoc", class="btn btn-primary", type="submit", ng-disabled="formLocation.$invalid") #{__('btnSave')}