Sha256: 5859b5a3f0412e87b4eb4a64225827fa36c79218d373b60e7f6f0f8c3ba5db4f

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

<%= form_tag(params[:parent_type] && params[:parent_id] ? "/#{params[:parent_type]}/#{params[:parent_id]}/reports" : "/reports", {:method => "get", :id => form_id}) do %>
  <fieldset class="graph-dates">
    <%= label_tag 'start_date', t('hawd.start_date') %>
    <%= text_field_tag 'start_date', "", :class => "date-selector", :placeholder => l(params[:start_date],:format => :analytics), :id => "#{form_id}_start_date" %>
  
    <%= label_tag 'start_date', t('hawd.end_date') %>
    <%= text_field_tag 'end_date', "", :class => "date-selector", :placeholder => l(params[:end_date],:format => :analytics), :id => "#{form_id}_end_date" %>
  </fieldset>
  
  <div class="button-wrapper">
    <%= hidden_field_tag 'exclude_prints' %>
    <%= hidden_field_tag 'exclude_totals' %>
    <%= hidden_field_tag 'exclude_views' %>
    <%= hidden_field_tag 'exclude_shares' %>
  
    <%= submit_tag(t(:submit)) %>
    <%= image_submit_tag("hawd/blank.png") %>
  </div>
  
  <fieldset class="graph-filters">
    <%= check_box_tag('include_totals', "1", true) %>
    <%= label_tag 'include_totals', t('hawd.totals') %>
  
    <%= check_box_tag('include_views', "1", true) %>
    <%= label_tag 'include_views', t('hawd.views') %>
  
    <%= check_box_tag('include_shares', "1", true) %>
    <%= label_tag 'include_shares', t('hawd.shares') %>
  
    <%= check_box_tag('include_prints', "1", true) %>
    <%= label_tag 'include_prints', t('hawd.prints') %>
  </fieldset>
<% end -%>


<div id="<%= graph_container_id %>" class="graph-chart"></div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
how_are_we_doing-0.0.9 app/views/reports/_line_graph.html.erb
how_are_we_doing-0.0.8 app/views/reports/_line_graph.html.erb
how_are_we_doing-0.0.7 app/views/reports/_line_graph.html.erb