<div class="box box-success">
  <div class="box-header with-border">
    <h3 class="box-title">Wyświetlenia stron</h3>
  </div>
  <table class="table table-bordered">
    <tr>
      <th>Strona</th>
      <th>Ilość wyświetleń</th>
    </tr>
    <tr>
      <td>Strona główna</td>
      <td><%= @sc_setting.index_number_of_views %></td>
    </tr>
    <tr>
      <td>Kontakt</td>
      <td><%= @sc_setting.contact_number_of_views %></td>
    </tr>
    <% for p in @published_pages %>
      <tr>
        <td><%= p.name %></td>
        <td><%= p.number_of_views %></td>
      </tr>
    <% end %>
  </table>

</div>
