Hi Tamer,
You are welcome :). Adding HTML in the I18n files is not going to work
very well. You could edit the forms HTML with Dryml, but it will be much
easier to do this with CSS. You can use firebug or similar inspector
tools to navigate the code and then write your CSS. For example:
form .name-help{
font-weight: bold;
}
Regards,
Ignacio
El 04/12/13 08:10, Tamer Sherif escribi�:
> Thank you Ignacio. Indeed it worked. Do you know how can I style the
> help text?
> For example I want it to be: *HELP* for name (bold)
>
> I tried doing it like this:
> - name: "<strong>HELP</strong> for name"
> - name: <strong>HELP</strong> for name
> but no luck!
>
>
> On Wed, Dec 4, 2013 at 12:19 AM, Ignacio Huerta <
ign...@ihuerta.net
> <mailto:
ign...@ihuerta.net>> wrote:
>
> Hi Tamer,
>
> Please try adding the help string to config/locales/app.en.yml. For
> example:
>
> en:
> activerecord:
> attribute_help:
> user:
> name: HELP for name
>
> Regards,
> Ignacio
>
> El 03/12/13 22:50, Tamer Sherif escribi�:
> <
tamers...@gmail.com <mailto:
tamers...@gmail.com>
> > <javascript:>> wrote:
> > > Can someone please help me figure out how to add placeholder
> text
> > to a field
> > > inside a model, and I want to add some kind of help text
> beside or
> > under the
> > > field as well?
> > >
> > > --
> > > You received this message because you are subscribed to the
> Google
> > Groups
> > > "Hobo Users" group.
> > > To unsubscribe from this group and stop receiving emails
> from it,
> > send an
> > > email to
hobousers+...@googlegroups.com
> <mailto:
hobousers%2B...@googlegroups.com> <javascript:>.
> > > To post to this group, send email to
>
hobo...@googlegroups.com <mailto:
hobo...@googlegroups.com>
> <mailto:
hobousers%2Bunsu...@googlegroups.com>.
> <mailto:
hobo...@googlegroups.com>.
> Tel�fono: 0034 645 70 77 35
> <mailto:
hobousers%2Bunsu...@googlegroups.com>.
> <mailto:
hobo...@googlegroups.com>.
Tel�fono: 0034 645 70 77 35