<form method="post" action="" id="numbergeneration_{$numbergeneration_my_id}" class="noprint">

    {include file='r/input.tpl' name="portlet_numbergeneration_subject" title="basic_numbergeneration_subject" default="" class="required t-mid" maxlength=100}
    
    {if $numbergeneration_uses_project}
        {include file='r/select-project.tpl' name="portlet_numbergeneration_project" title="filter_project" class="is_project required"
            list=$projects_list id="id" text="project"
            add_icons_file="project" filter_favourite_list=$projects_favourite_list}
    {/if}
    
    {include file='r/input.tpl' name="portlet_numbergeneration_number" title="basic_numbergeneration_number" default="" class="t-mid" hide=true}
    
    <a onclick="basicForm.numbergeneration.generate('numbergeneration_{$numbergeneration_my_id}');" class="dialog_make_text_btn ui-corner-all">
        <span class="dialog_make_btn16 ok ui-corner-all"></span>{$i.basic_numbergeneration_do}
    </a>    
</form>