|
|
@ -24,7 +24,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<% if FeatureToggle.location_toggle_enabled? %> |
|
|
|
<% if FeatureToggle.location_toggle_enabled? %> |
|
|
|
<% if @location.status == :active %> |
|
|
|
<% if @location.active? %> |
|
|
|
<%= govuk_button_link_to "Deactivate this location", scheme_location_deactivate_path(scheme_id: @scheme.id, location_id: @location.id), warning: true %> |
|
|
|
<%= govuk_button_link_to "Deactivate this location", scheme_location_deactivate_path(scheme_id: @scheme.id, location_id: @location.id), warning: true %> |
|
|
|
<% else %> |
|
|
|
<% else %> |
|
|
|
<%= govuk_button_link_to "Reactivate this location", scheme_location_reactivate_path(scheme_id: @scheme.id, location_id: @location.id) %> |
|
|
|
<%= govuk_button_link_to "Reactivate this location", scheme_location_reactivate_path(scheme_id: @scheme.id, location_id: @location.id) %> |
|
|
|