helpers: add vertical_margin helper for mailers
This commit is contained in:
parent
2c612f6448
commit
45c62cefb2
2 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
module MailerHelper
|
||||
def vertical_margin(height)
|
||||
render 'shared/mailer_vertical_margin', height: height
|
||||
end
|
||||
|
||||
def round_button(text, url, variant)
|
||||
render 'shared/mailer_round_button', text: text, url: url, theme: theme(variant)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue