<form action="{site_url url="mobile/open/mobile_timelog/set/"}" method="post" id="timelogform" data-transition="fade">
    
    <div data-role="fieldcontain">
        <label for="timelog_project_view">{$i.basic_timelogging}:</label>
        
        {include file='r/view-only.tpl' name="timelog_project_view" default=$project_name}
        {include file='r/hidden.tpl' name="timelog_project" default=$project_id}
        {include file='r/hidden.tpl' name="timelog_with_purpose" default=true}
    </div>
    
    <div data-role="fieldcontain" class="ui-hide-label">
        <textarea name="timelog_purpose" id="timelog_purpose" placeholder="{$i.timelogging_purpose}"></textarea>
    </div>
    
    <div data-role="fieldcontain" class="ui-hide-label">
        <textarea name="timelog_purpose_internal" id="timelog_purpose_internal" placeholder="{$i.timelogging_purpose_internal}"></textarea>
    </div> 
        
    <div data-role="fieldcontain">
        <label for="timelog_work_package">{$i.timelogging_package}:</label>

        {include file='r/select-only.tpl' name="timelog_work_package" default=''
            list=$timelog_work_packages id="id" text="name"}
    </div>
      
    <div data-role="fieldcontain">
        <label for="timelog_skill_grp">{$i.timelogging_skill_grp}:</label>

        {include file='r/select-only.tpl' name="timelog_skill_grp" default=''
            list=$timelog_skill_grps id="id" text="name"}
    </div>
    
    <div data-role="fieldcontain">
        <label for="timelog_is_client_changed">{$i.timelogging_is_client_changed}:</label>
	<select name="timelog_is_client_changed" id="timelog_is_client_changed" data-role="slider">
            <option value="" selected="true">{$i.basic_no}</option>
            <option value="yes">{$i.basic_yes}</option>
	</select> 
    </div>       
    
    <button data-icon="check" type="submit">{$i.timelogging_ok}</button>
</form>