Hi, i''ve just started using Markaby and I think it''s great but
I have a
problem. How would i recreate the following:
<select id="timesheet_state" name ="timesheet_state">
<option value="" <%if @timesheet_state==nil%>
<%="selected"%>
<% end %>>[All States]</option>
<option value="2" <%if @timesheet_state.to_i==2%>
<%="selected"%>
</select>
Any help appreciated,
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
