-
After generating the views with How do you change these? (I only want to change a few of them, not translate them). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
See this section for "auth methods" and "auth value methods". These are auth value methods, so you can pass a string directly in the configuration DSL: class RodauthMain < Rodauth::Rails::Auth
configure do
login_label "..."
password_label "..."
end
end But you don't need to use these methods, you can just hardcode strings directly in view templates, like you'd normally do in Rails. The main reason rodauth-rails generates templates that use these methods is so that things like i18n works automatically. |
Beta Was this translation helpful? Give feedback.
See this section for "auth methods" and "auth value methods". These are auth value methods, so you can pass a string directly in the configuration DSL:
But you don't need to use these methods, you can just hardcode strings directly in view templates, like you'd normally do in Rails. The main reason rodauth-rails generates templates that use these methods is so that things like i18n works automatically.