How about this?
addr_template = addr_template.gsub(/ReplaceThisWithPostalcardMessage/,
@contact_postalcard.message.gsub("\n", "<br />"))
ngoozeff
2010-07-27 05:41:04
How about this?
addr_template = addr_template.gsub(/ReplaceThisWithPostalcardMessage/,
@contact_postalcard.message.gsub("\n", "<br />"))
Use the textarea as normal then display using :
simple_format(data_from_textarea)