diff --git a/app/views/employers/show.html.erb b/app/views/employers/show.html.erb index 4cce2be..c47faa9 100644 --- a/app/views/employers/show.html.erb +++ b/app/views/employers/show.html.erb @@ -79,8 +79,12 @@ <%= employer_record.start_date.strftime('%B %d, %Y') if employer_record.start_date %> <%= employer_record.end_date.strftime('%B %d, %Y') if employer_record.end_date %> - <%= link_to 'View', participant_path(participant), class: 'btn btn-sm btn-secondary' %> - <%= link_to 'Edit', edit_employer_record_path(employer_record), class: 'btn btn-sm btn-info' %> + <%= link_to participant_path(participant), class: 'btn btn-sm btn-secondary' do %> + + <% end %> + <%= link_to edit_employer_record_path(employer_record), class: 'btn btn-sm btn-info' do %> + + <% end %> <% end %> diff --git a/app/views/workers/show.html.erb b/app/views/workers/show.html.erb index 894e23d..315d365 100644 --- a/app/views/workers/show.html.erb +++ b/app/views/workers/show.html.erb @@ -108,7 +108,7 @@ <%= form.date_field :end_date, class: 'form-control' %> -
+
<%= form.submit "Link Participant", class: 'btn btn-dark' %>
<% end %>