From 3dab91086bf9f5b2709d6128dc49d34de62cd79e Mon Sep 17 00:00:00 2001 From: Adrian Hinz Date: Wed, 4 May 2022 20:40:19 +0200 Subject: [PATCH] pdf margin fix --- app/views/home/_show.html.erb | 2 +- app/views/home/_show.pdf.erb | 2 +- app/views/home/consultation_email/_form.html.erb | 2 +- app/views/home/prepare_pdf.pdf.erb | 1 - app/views/layouts/pdf.html.erb | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/views/home/_show.html.erb b/app/views/home/_show.html.erb index 84675c2..fd39cea 100644 --- a/app/views/home/_show.html.erb +++ b/app/views/home/_show.html.erb @@ -10,7 +10,7 @@
-

WIELKOŚĆ PRZEDSIĘBIORSTWA

+

WIELKOŚĆ PRZEDSIĘBIORSTWA KTÓRE MOŻE SIĘ UBIEGAĆ O DOFINANSOWANIE

diff --git a/app/views/home/_show.pdf.erb b/app/views/home/_show.pdf.erb index 2223011..389390b 100644 --- a/app/views/home/_show.pdf.erb +++ b/app/views/home/_show.pdf.erb @@ -10,7 +10,7 @@
-

WIELKOŚĆ PRZEDSIĘBIORSTWA

+

WIELKOŚĆ PRZEDSIĘBIORSTWA KTÓRE MOŻE SIĘ UBIEGAĆ O DOFINANSOWANIE

diff --git a/app/views/home/consultation_email/_form.html.erb b/app/views/home/consultation_email/_form.html.erb index 7e17ff5..7afdf0a 100644 --- a/app/views/home/consultation_email/_form.html.erb +++ b/app/views/home/consultation_email/_form.html.erb @@ -24,7 +24,7 @@ <%= form.label :project_value %>
<% ConsultationEmail::PROJECT_VALUES.each do |pv| %> <%= radio_button_tag 'consultation_email[project_value]', pv[0] %> - <%= label 'consultation_email[project_value]', pv[1] %> + <%= label 'consultation_email[project_value]', pv[1] %>
<% end %>
diff --git a/app/views/home/prepare_pdf.pdf.erb b/app/views/home/prepare_pdf.pdf.erb index d3d90d4..ab1606d 100644 --- a/app/views/home/prepare_pdf.pdf.erb +++ b/app/views/home/prepare_pdf.pdf.erb @@ -10,7 +10,6 @@

<%= dotation.name %>

<%= render '/home/show', dotation: dotation, company_sizes: company_sizes %> -

<% end %> diff --git a/app/views/layouts/pdf.html.erb b/app/views/layouts/pdf.html.erb index 9c91428..a32284a 100644 --- a/app/views/layouts/pdf.html.erb +++ b/app/views/layouts/pdf.html.erb @@ -10,7 +10,7 @@
<%= yield %>
-
+
<%= render 'shared/disclaimer' %>