<form id="md_category_rates_set_all_form" action=""  method="POST" onsubmit="{$ok_action}">

    <div class="ui-dialog-left-menu-big ui-corner-all">
        <p style="text-align:center;">
            <span onclick="$('#msgdialogmd_category_rates_set_all_dialog').dialog('close');" class="dialog_make_btn32 close smallbtns ui-corner-all" title="{$i.basic_cancel}"></span>
            <span onclick="{$ok_action}" class="dialog_make_btn32 ok smallbtns ui-corner-all" title="{$i.basic_save}"></span>
        </p>
    </div>
    <div class="ui-dialog-main-big">
        <fieldset class="noborder">
            {include file='r/input.tpl' name="rate_external" title="masterdatamanagement_rate_external"
                class="numberi18n" default="{islongfloat value=0}"}
            {include file='r/input.tpl' name="rate_external_amount" title="masterdatamanagement_rate_external_amount"
                class="numberi18n" default="{islongfloat value=0}"}
            {include file='r/input.tpl' name="rate_external_percent" title="masterdatamanagement_rate_external_percent"
                class="numberi18n" default="{islongfloat value=0}"}
                {include file='r/checkbox.tpl' name="rate_rounding" title="masterdatamanagement_rate_rounding" labelclass="label4"
                default="true"}
        </fieldset>
        <fieldset class="bordertop">
            {if $view_external_staff}
                {include file='r/input.tpl' name="rate_external_staff" title="masterdatamanagement_rate_external_staff"
                    class="numberi18n" default="{islongfloat value=0}"}
            {/if}
        </fieldset>
        <fieldset class="bordertop">
            {include file='r/input.tpl' name="rate_update_max" title="masterdatamanagement_rate_update_max"
                class="numberi18n" default="{islongfloat value=0}"
                deactivate_possible=true deactivate=true
                add_icons_file='warning' past_span_text=$i.masterdatamanagement_rate_update_max2}
        </fieldset>
        <fieldset class="bordertop">
            {if $view_external_staff}
                {include file='r/select.tpl' name="rate_update_occ_group" title="masterdatamanagement_rate_update_occ_group"
                    deactivate_possible=true deactivate=true
                    list=$occupation_group_list id="id" text="name"}
            {/if}
        </fieldset>
    </div>
</form>
