app/views/cohortly/metrics/index.html.erb in cohortly-0.0.5 vs app/views/cohortly/metrics/index.html.erb in cohortly-0.0.6

- old
+ new

@@ -1,12 +1,19 @@ <h2>Metrics</h2> <%= form_for(@metric_search, :url => cohortly_metrics_path, :html => { :method =>:get }) do |f| %> <div class="field"> - <%= f.label :user_id %> + <%= f.label 'User id' %> <%= f.text_field :user_id %> </div> + <div class="field"> + <%= f.label :username %> + <%= f.text_field :username %> + </div> + <h3>Groups</h3> + <%= render :partial => 'cohortly/metrics/groups' %> + <h3>Tags</h3> <%= render :partial => 'cohortly/metrics/tags' %> <%= f.submit "filter" %> <% end %> <% url_gen = lambda {|page| cohortly_metrics_path({:cohortly_metric => params[:cohortly_metric], :page => page}) } %>