Is there a way to change the text of the action buttons? For instance I want the New User button to say New Writer instead. I don't want to use the :as when I'm registering the block either.
buttons use formtastic I18n
en:
formtastic:
:yes: 'Yes'
:no: 'No'
:create: 'Create %{model}'
:update: 'Update %{model}'
:submit: 'Submit %{model}'
:cancel: 'Cancel %{model}'
:reset: 'Reset %{model}'
:required: 'required'
To change your model display name you have to use
en:
activerecord:
models:
user:
one: "Writer"
other: "Writers"
If you want to use it only in some forms.. then i dont know how to do it , but those informations should help you a little bit ;]
Thank you for the explanation, @pcreux !
Most helpful comment
buttons use formtastic I18n
en:
formtastic:
:yes: 'Yes'
:no: 'No'
:create: 'Create %{model}'
:update: 'Update %{model}'
:submit: 'Submit %{model}'
:cancel: 'Cancel %{model}'
:reset: 'Reset %{model}'
:required: 'required'
To change your model display name you have to use
en:
activerecord:
models:
user:
one: "Writer"
other: "Writers"
If you want to use it only in some forms.. then i dont know how to do it , but those informations should help you a little bit ;]