<%= work_item.title %> <% if work_item.started? && !work_item.completed? %> <%= button_to "Complete", work_item_complete_path(work_item), class: 'action-button' %> <% end %>
<% if work_item.completed? %> <% elsif work_item.started? %> <% else %> <%# Symbol to show work has not started yet %> <% end %>
<% if work_item.workable? %> <% start_label = if work_item.started? then "Continue" else "Start" end %> <%= button_to start_label, work_item_start_time_entry_path(work_item), class: 'action-button' %> <% end %> <% if work_item.document_link.present? %> <%= link_to "Open recording", work_item.document_link %> <% end %>