Chris@0:
Chris@0: <%= radio_button_tag 'period_type', '1', !@free_period %>
Chris@0: <%= select_tag 'period', options_for_period_select(params[:period]),
Chris@0: :onchange => 'this.form.onsubmit();',
Chris@0: :onfocus => '$("period_type_1").checked = true;' %>
Chris@0:
Chris@0:
Chris@0: <%= radio_button_tag 'period_type', '2', @free_period %>
Chris@0:
Chris@0: <%= l(:label_date_from_to, :start => (text_field_tag('from', @from, :size => 10) + calendar_for('from')),
Chris@0: :end => (text_field_tag('to', @to, :size => 10) + calendar_for('to'))) %>
Chris@0:
Chris@0:
Chris@0:
Chris@0: