Commit 6774f032 authored by Mateus Ravedutti's avatar Mateus Ravedutti

Fix professionals edit form

parent 29352486
......@@ -5,7 +5,7 @@
<h2 class="card-title"><%= t(:professional_registration) %>:</h2>
<% else %>
<% #Check if the current professional is the same city that the citizens that will be edited %>
<% if @citizen.city_id === @current_service_place.city_id%>
<% if @citizen.city_id === @current_place.city_id%>
<% same_city = false %>
<% else %>
<% same_city = true %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment