Sha256: 75ca7400cd24d4151246aaccfa5b649cb88ff8ba5bf41eaad8b024972d24d780
Contents?: true
Size: 1.85 KB
Versions: 3
Compression:
Stored size: 1.85 KB
Contents
<% content_for :javascripts do -%> <%= raw how_are_we_doing_chart("recent-bar-graph-form","recent-bar-graph-container","bar") %> <% end -%> <%= form_tag(params[:parent_type] && params[:parent_id] ? "/#{params[:parent_type]}/#{params[:parent_id]}/reports" : "/reports", {:method => "get", :id => "recent-bar-graph-form"}) 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 => "recent-bar-graph-form_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 => "recent-bar-graph-form_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' %> <%= hidden_field_tag 'analytical_type', (params[:analytical_type]||params[:default_analytical_type]) %> <%= hidden_field_tag 'analytical_ids', (@analytical_ids||[]) %> <%= 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