diff --git a/app/views/efforts/_efforts_list_person.html.erb b/app/views/efforts/_efforts_list_person.html.erb index dbf1a3cd0..94f134f78 100644 --- a/app/views/efforts/_efforts_list_person.html.erb +++ b/app/views/efforts/_efforts_list_person.html.erb @@ -23,7 +23,7 @@ <%= l(effort.event.scheduled_start_time.to_date, format: :full_with_weekday) %> <%= text_with_status_indicator(effort.finish_status, effort.data_status, data_type: :effort_time_data) %> <% if current_user&.admin? %> - <%= link_to "Disassociate", + <%= button_to "Disassociate", effort_path(effort, effort: { person_id: nil }, button: :disassociate,