app/views/effective/cpd_audits/submit.html.haml in effective_cpd-1.2.4 vs app/views/effective/cpd_audits/submit.html.haml in effective_cpd-1.3.0

- old
+ new

@@ -1,8 +1,8 @@ = render('layout') do %p - Please review your audit before submitting. + Please review your #{cpd_audit_label} before submitting. %p Once submitted you %strong will not be able to change your submission @@ -11,8 +11,8 @@ = effective_form_with(model: resource, url: wizard_path(step), method: :put) do |f| = f.hidden_field :current_step - if EffectiveResources.authorized?(self, :resubmit, resource) - = f.submit 'Resubmit Audit', center: true, 'data-confirm': "Really Resubmit Audit?" + = f.submit 'Resubmit', center: true, 'data-confirm': "Really Resubmit #{cpd_audit_label}?" - else - = f.submit 'Submit Audit', center: true, 'data-confirm': "Really Submit Audit?" + = f.submit 'Submit', center: true, 'data-confirm': "Really Submit #{cpd_audit_label}?"