On Miércoles, 8 de Septiembre de 2010 18:37:02 Michael Bahnmiller escribió:
> Something like "Assign X to Y" (X and Y are two models that are a part
> of a habtm relationship using a "through" model).
>
> Does that make sense?

You can change it in the column now (with latest master branch). Set to 
:assign_to, and define assign_to in your locale file:

en:
  active_scaffold:
    assign_to: 'Assign %{model} to %{parent}'


>
> Thanks,
> Mikelb
>
> On 09/08/2010 01:48 AM, Sergio Cambra .:: entreCables S.L. ::. wrote:
> > On Miércoles, 8 de Septiembre de 2010 08:01:36 Michael Bahnmiller 
escribió:
> >> Can I do this per controller?
> >
> > No, there is no option to change that text. What text do you want in each
> > controller? Send some examples.
> >
> >> Thanks,
> >> Mikelb
> >>
> >> On 09/06/2010 01:45 AM, Sergio Cambra .:: entreCables S.L. ::. wrote:
> >>> On Viernes, 3 de Septiembre de 2010 22:22:59 mikelb escribió:
> >>>> I have a nested grid, and I'm trying to change the "Create New" link
> >>>> text to something else.  Here's what I have:
> >>>>
> >>>> config.create.label = '<something here>'
> >>>>
> >>>> ...  this seems to work on all of my other sub-grids...
> >>>>
> >>>> Thanks
> >>>> M
> >>>
> >>> You can change it using i18n, in your config/locales/language.yml
> >>> language:
> >>>     active_scaffold:
> >>>       create_new: "New text"

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to