Sha256: 5b9acc66948e04de6af1fe8f830af9ae3907928c182f8d3d665fb7cd929fca1b

Contents?: true

Size: 894 Bytes

Versions: 2

Compression:

Stored size: 894 Bytes

Contents

<%= form_tag('', :method => :get) do %>
    <p>
        <%= label_tag(:names, t(:names, :scope => :meter_cat)) %>
        <%= select_tag(:names, options_for_select(all_names, names), :multiple => true, :size => all_names.size) %>
    </p>

    <p>
        <%= label_tag(:date, t(:date, :scope => :meter_cat)) %>
        <%= select_date(date, :prefix => :date, :order => [ :month, :day, :year ]) %>
    </p>

    <p>
        <%= label_tag(:days, t(:days, :scope => :meter_cat)) %>
        <%= text_field_tag(:days, days, :size => 4) %>
    </p>

    <p>
        <%= label_tag(:format, t(:format, :scope => :meter_cat)) %>
        <%= radio_button_tag(:format, 'html', true) %>
        <%= t(:html, :scope => :meter_cat) %>
        <%= radio_button_tag(:format, 'csv')  %>
        <%= t(:csv, :scope => :meter_cat) %>
    </p>

      <%= submit_tag(t(:search, :scope => :meter_cat)) %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
meter_cat-5.0.1 app/views/meter_cat/meters/_form.html.erb
meter_cat-5.0.0 app/views/meter_cat/meters/_form.html.erb