diff --git a/app/views/locations/check_answers.html.erb b/app/views/locations/check_answers.html.erb index 089ac37bd..497abf63f 100644 --- a/app/views/locations/check_answers.html.erb +++ b/app/views/locations/check_answers.html.erb @@ -29,8 +29,10 @@ <% else %> <% row.with_value { details_html(attr, @location) if user_can_edit_scheme?(current_user, @scheme) } %> <% end %> - <% if LocationPolicy.new(current_user, @location).update? %> + <% if LocationPolicy.new(current_user, @location).update? && attr[:value] %> <% row.with_action(text: location_action_text(attr, @location), href: location_edit_path(@location, attr[:attribute])) %> + <% else %> + <% row.with_action %> <% end %> <% end %> <% end %>