diff --git a/rails_root/app/views/survey_responses/show.html.erb b/rails_root/app/views/survey_responses/show.html.erb index 3a76264..9f64b50 100644 --- a/rails_root/app/views/survey_responses/show.html.erb +++ b/rails_root/app/views/survey_responses/show.html.erb @@ -140,13 +140,35 @@ <% end %> - - -
-
-
- <%= link_to "Edit Response", + <%# this is the view containing the link %> + + +
+
+ <%= link_to "Edit Response", edit_survey_response_path(@survey_response), class: "btn btn-outline-primary" %> @@ -161,9 +183,47 @@ form_class: "btn btn-outline-danger", class: "btn-passthrough" - %> + %> +
-
+ <%# show invitation link if it exist %> + + + +