Skip to content

Commit

Permalink
link to main stats page ontag stats page (publiclab#5007)
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamig54 authored and divyabaid16 committed Mar 11, 2019
1 parent 7f50203 commit d9daa8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/tag/stats.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<br>
<div class="row">

<h3> Tag statistics for <%= @tags.first.name %> </h3>
<hr>
<%= link_to " See statistics for all contents", stats_path %>
<br>
<div class="col-md-6">
<%= form_tag request.url, method: :get do %>
Expand All @@ -26,6 +28,6 @@
<% if @tags.first.count.nil? %>
<i> There are no posts for this tag yet </i>
<% else %>
<b>Total Tag count : <%= @tags.first.count %></b>
<b>Total Tag count : <%= @tags.first.count %></b>
<% end %>
</div>

0 comments on commit d9daa8f

Please sign in to comment.