app/views/effective/cpd_statements/complete.html.haml in effective_cpd-0.6.2 vs app/views/effective/cpd_statements/complete.html.haml in effective_cpd-0.6.3
- old
+ new
@@ -10,11 +10,11 @@
.mb-2= resource.cpd_cycle.all_steps_content.to_s
- if resource.cpd_cycle.complete_content.present?
.mb-2= resource.cpd_cycle.complete_content.to_s
- = link_to "Return to Dashboard", root_path, class: 'btn btn-lg btn-primary mb-4'
+ = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'
= render('effective/cpd_statements/cpd_statement', cpd_statement: resource)
%hr
- = link_to "Return to Dashboard", root_path, class: 'btn btn-lg btn-primary'
+ = link_to "Return to Dashboard", return_to_dashboard_path, class: 'btn btn-lg btn-primary btn-block'