app/views/effective/cpd_statements/complete.html.haml in effective_cpd-1.4.8 vs app/views/effective/cpd_statements/complete.html.haml in effective_cpd-1.5.0
- old
+ new
@@ -1,10 +1,10 @@
= render('layout') do
%h1= resource.cpd_cycle
- raise('expected a submitted cpd_statement') unless resource.submitted_at.present?
- .alert.alert-warning.mb-4
+ .alert.alert-success.mb-4
Successfully submitted on #{resource.submitted_at.strftime('%F')}.
- if resource.cpd_cycle.all_steps_content.present?
.mb-2= resource.cpd_cycle.all_steps_content.to_s