anyone-oslo/pages

View on GitHub
app/views/admin/users/deactivated.html.erb

Summary

Maintainability
Test Coverage
<% content_for :page_title, "Deactivated users" %>
<% content_for :page_description, "Viewing deactivated users" %>

<% content_for(:page_description_links) do %>
  <%= link_to("View active users", admin_users_path) %>
<% end %>

<% content_for :sidebar do %>
<% end %>

<%= render partial: "list", locals: { users: @users } %>