You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
423 B

{* param status_types, $item.status, $tracker.newItemStatus, form_status *}
<select name="{$form_status}">
{foreach key=st item=stdata from=$status_types}
<option value="{$st}" class="tracker-status-{$st}"
{if (empty($item) and $tracker.newItemStatus eq $st) or (!empty($item) and $item.status eq $st)} selected="selected"{/if}>
{$stdata.label}
</option>
{/foreach}
</select>