We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
sorry short question:
I try to implement your form gem into my existing Bill < Prawn::Document. Prawn is installed correctly and is rendering my PDF.
Now I added gem 'prawn-blank' to my gemfile and try to use the form like this:
gem 'prawn-blank'
require "prawn" require "prawn/blank" Bill < Prawn::Document def render_bill text_field( :at => [200,55], :name=>"text", :value=>"Try edit me!" ) end end # in controller respond_to do |format| format.pdf do pdf = Bill.new(current_user, bill) send_data pdf.render, type: "application/pdf", disposition: "inline" end end What I am doing wrong? Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
sorry short question:
I try to implement your form gem into my existing Bill < Prawn::Document. Prawn is installed correctly and is rendering my PDF.
Now I added
gem 'prawn-blank'
to my gemfile and try to use the form like this:The text was updated successfully, but these errors were encountered: