Sha256: 6d21ce13d1eb36f586c09318a9ffb26166b41d575690f8228c219e74b6ed07ab

Contents?: true

Size: 931 Bytes

Versions: 2

Compression:

Stored size: 931 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-0.0.7 app/views/meter_cat/meters/_form.html.erb
meter_cat-0.0.6 app/views/meter_cat/meters/_form.html.erb