Sha256: 4085f693fc6904d19eb24a0b07c60d3a66f38076e2c353b1909e20121116a253
Contents?: true
Size: 627 Bytes
Versions: 1
Compression:
Stored size: 627 Bytes
Contents
<h1> <%= @metric.title %> </h1> <%= render_graph @metric, start_time: start_time %> <%= form_tag(metric_path(params[:id]), method: 'get') do %> <h2>Settings</h2> <div class='well'> <h3>Option</h3> <%= select_tag :option, options_for_select(@metric.options.keys, option) %> <h3>Period</h3> <% Prosperity::Periods::ALL.each do |key, period_object| %> <%= radio_button_tag "period", key, key == period %> <%= label_tag "period_#{key}", key.titleize %> <% end %> <%= render 'prosperity/shared/date_range' %> <%= submit_tag "Update", class: 'btn btn-primary' %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prosperity-0.0.9 | app/views/prosperity/metrics/show.html.erb |