<% page_title 'Educational Institution Detail' %>

Name: <%= @school.name %>

Address: <%= @school.address_1 %>

Address 2: <%= @school.address_2 if @school.address_2 && !@school.address_2.empty? %>

City: <%= @school.city %>

State: <%= GeographicalRegions.us_state_by_abbreviation @school.state %>

Zipcode: <%= @school.zipcode %>

Phone: <%= @school.phone %>

Approved: <%= @school.approved ? 'Yes' : 'No' %>

<%= link_to 'Edit', edit_admin_school_path(@school) %> | <%= link_to 'Migrate Users to Different Educational Institution', migration_new_admin_school_path(@school) %> | <%= link_to 'Manage Educational Institutions', admin_schools_path %>