Sha256: f54e47579e9ef3ed8044c63fcba3646e78d46226b8406c1329cf14388661c559
Contents?: true
Size: 892 Bytes
Versions: 4
Compression:
Stored size: 892 Bytes
Contents
<h2>Metrics</h2> <%= form_for(@metric_search, :url => cohortly_metrics_path, :html => { :method =>:get }) do |f| %> <div class="field"> <%= f.label :user_id %> <%= f.text_field :user_id %> </div> <%= render :partial => 'cohortly/metrics/tags' %> <%= f.submit "filter" %> <% end %> <% url_gen = lambda {|page| cohortly_metrics_path({:cohortly_metric => params[:cohortly_metric], :page => page}) } %> <%= render :partial => 'pagination', :object => @metrics, :locals => { :url_gen => url_gen} %> <table class="hor-zebra"> <tr> <th>User</th> <th>Username</th> <th>Time</th> <th>Controller</th> <th>Action</th> <th>Tags</th> </tr> <%= render :collection => @metrics, :partial => 'metric' %> </table> <%= render :partial => 'pagination', :object => @metrics, :locals => { :url_gen => url_gen} %>
Version data entries
4 entries across 4 versions & 1 rubygems