<%# # @file # Main application file. Holds scaffolding present on every page. # Then a certain non-partial view (no _ preceding filename) will be # displayed within, based on URL #%> <%= render :partial => 'layouts/head' %> <%= content_tag :div, class: "main" do %> <% if params[:controller] == 'doorkeeper/applications' || params[:controller] == 'doorkeeper/authorized_applications' classes = 'appsPage' else classes = '' end %>
<%= render :partial => 'layouts/upperelements', :locals => {:noHardHomeLink => true } %> <%= yield %>
<% if current_user && current_user.admin %>
Registered Apps
<% end %>
Authorized Apps
Maps

<% if devise_error_messages? %> <%= devise_error_messages! %> <% elsif notice %> <%= notice %> <% end %>

<% end %> <%= render :partial => 'layouts/foot' %>