diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pdf_form.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/pdf_form.rb b/lib/pdf_form.rb index a52d315..2298f6b 100644 --- a/lib/pdf_form.rb +++ b/lib/pdf_form.rb @@ -40,6 +40,11 @@ class PDFForm end end + if @document.cursor < 120 + @document.start_new_page + end + + subheading("Fullmakt:") end_text @document.number_pages "#{@band.name} - Norsk Urskog 2016 - Side <page>", :align => :center, :at => [0, 0] @@ -111,10 +116,6 @@ class PDFForm end def end_text - if @document.cursor < 120 - @document.start_new_page - end - @document.span(@document.bounds.right) do @document.pad(5) do @document.text((<<-END.gsub(/\s+/, ' ') + "\n\n"), :inline_format => true) @@ -122,8 +123,9 @@ class PDFForm #{@band.name} har fullmakt til å melde ovennevnte låter på Norsk Urskog Metal Sampler 2016: END end - @document.pad_bottom(12) { field("Dato/Sted:", 5.cm) } - @document.pad_top(12) { field("Sign:", 10.cm) } + @document.pad_bottom(32) { field("Dato/Sted:", 10.cm) } + @document.pad_bottom(32) { field("Sign:", 10.cm) } + field("Leselig navn:", 10.cm) end end end |