<form action="{site_url url="mobile/open/mobile_timelog/set/"}" method="post" id="timelogform" data-transition="fade">
    <label for="timelog_project">{$i.basic_timelogging}:</label>

    {assign var=project_default value=''}
    {if isset($timelog_atc) && isset($timelog_atc->project_id)}
        {assign var=project_default value=$timelog_atc->project_id}
    {/if}

    {include file='r/select-only.tpl' name="timelog_project"
        default=$project_default
        noempty=1 emptyminus=1
        list=$timelog_proj id="id" text="project"}
    
    <button data-icon="check" type="submit">{$i.timelogging_ok}</button>
</form>
