<div align="center">
-<form accept-charset="UTF-8" id="earning_$content[earning_id]" action="{%url=modules.php?module=login&what=earning%}" method="post">
+{form,formIdEarning_$content[earning_id],formMethodPost=modules.php?module=login&what=earning%}
<div class="table dashed">
<div class="table_header bottom">
<strong>{%message,MEMBER_EARNING_POPUP_FORM_TITLE=$content[earning_provider]%}</strong>
<input type="submit" class="form_submit" name="ok" value="{--MEMBER_EARNING_CHANGE_SUBMIT--}" />
</div>
</div>
-</form>
+{%form_close%}
</div>