diff --git a/app/controllers/school_controller.rb b/app/controllers/school_controller.rb
index 5ba6d836b..5b405a27a 100644
--- a/app/controllers/school_controller.rb
+++ b/app/controllers/school_controller.rb
@@ -32,6 +32,19 @@ class SchoolController < ApplicationController
def index
end
+
+ def get_province
+ @provinces = School.find_by_sql("select distinct province from schools")
+
+ options = ""
+
+ @provinces.each do |p|
+ options << ""
+ end
+
+ render :text => options
+
+ end
def get_options
@school = School.where("province = ?", params[:province])
diff --git a/app/views/school/index.html.erb b/app/views/school/index.html.erb
index c9fca54aa..31bbc587f 100644
--- a/app/views/school/index.html.erb
+++ b/app/views/school/index.html.erb
@@ -1,4 +1,22 @@
<% port = ":3000" if Rails.env.development? %>
+
+
+