<% data = action_data "decide_template" %> <% if data["page_id"] == "hpsschool" %> <% if data["city_id_present"] %> <%= render_view %> <% else %> <%= render_view "school_default" %> <% end %> <% elsif data["page_id"] == "hpsgovt" %> <%= render_view "govt_main" %> <% end %>