You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please show some example data that goes into these fields:
body (text): the source of template (I understand this one)
path (string): where to find template (would 'views/reports' work?)
locale (string): it depends from available locales in your app
handler (string): as locale field, it depends from avaiable handlers (erb, haml, etc...)
partial (boolean): determines if it's a partial or not (false by default)
format (string): A valid mimetype from Mime::SET.symbols
Do they all need to have data? I'm getting 'is not included in the list' when empty.
I'm trying to store a xlsx template in the database. Does this look right?
Path = vehicles/evlist
Locale = en
Handler = axslx
Format = xlsx
NEVER MIND - I got it to work!
Thanks!!!
The text was updated successfully, but these errors were encountered:
Could you please show some example data that goes into these fields:
body (text): the source of template (I understand this one)
path (string): where to find template (would 'views/reports' work?)
locale (string): it depends from available locales in your app
handler (string): as locale field, it depends from avaiable handlers (erb, haml, etc...)
partial (boolean): determines if it's a partial or not (false by default)
format (string): A valid mimetype from Mime::SET.symbols
Do they all need to have data? I'm getting 'is not included in the list' when empty.
I'm trying to store a xlsx template in the database. Does this look right?
Path = vehicles/evlist
Locale = en
Handler = axslx
Format = xlsx
NEVER MIND - I got it to work!
Thanks!!!
The text was updated successfully, but these errors were encountered: