diff --git a/app/models/apps/parliament_vote_app/application_form.rb b/app/models/apps/parliament_vote_app/application_form.rb index e26dc18e..b72370ca 100644 --- a/app/models/apps/parliament_vote_app/application_form.rb +++ b/app/models/apps/parliament_vote_app/application_form.rb @@ -131,14 +131,14 @@ def from_slovakia_email_body ActionController::Base.new.render_to_string( partial: "apps/parliament_vote_app/application_forms/from_slovakia_email_body", locals: { model: self }, - ) + ).gsub(/\n/, "\r\n") end def from_slovakia_authorized_person_email_body ActionController::Base.new.render_to_string( partial: "apps/parliament_vote_app/application_forms/from_slovakia_authorized_person_email_body", locals: { model: self }, - ) + ).gsub(/\n/, "\r\n") end def world_abroad_resident_email_body diff --git a/app/views/apps/parliament_vote_app/application_forms/authorized_person_send.html.erb b/app/views/apps/parliament_vote_app/application_forms/authorized_person_send.html.erb index 26884d08..ebfe5131 100644 --- a/app/views/apps/parliament_vote_app/application_forms/authorized_person_send.html.erb +++ b/app/views/apps/parliament_vote_app/application_forms/authorized_person_send.html.erb @@ -11,7 +11,7 @@ <%= mail_to @application_form.municipality_email, 'pripravenú žiadosť v emailovom klientovi'.html_safe, target: '_blank', body: @application_form.from_slovakia_authorized_person_email_body, - subject: 'Žiadosť o hlasovací preukaz do parlamentých volieb.' + subject: 'Žiadosť o hlasovací preukaz do parlamentných volieb.' %> alebo ju manuálne skopírujte a odošlite na emailovú adresu obce: <%= mail_to @application_form.municipality_email, @application_form.municipality_email %> diff --git a/app/views/apps/parliament_vote_app/application_forms/send.html.erb b/app/views/apps/parliament_vote_app/application_forms/send.html.erb index 69200634..0d0b0d6e 100644 --- a/app/views/apps/parliament_vote_app/application_forms/send.html.erb +++ b/app/views/apps/parliament_vote_app/application_forms/send.html.erb @@ -11,7 +11,7 @@ <%= mail_to @application_form.municipality_email, 'pripravenú žiadosť v emailovom klientovi'.html_safe, target: '_blank', body: @application_form.from_slovakia_email_body, - subject: 'Žiadosť o hlasovací preukaz do parlamentých volieb.' + subject: 'Žiadosť o hlasovací preukaz do parlamentných volieb.' %> alebo ju manuálne skopírujte a odošlite na emailovú adresu obce: <%= mail_to @application_form.municipality_email, @application_form.municipality_email %>