-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Quiliro,

- From your description, I would suggest managing the blood types in an
independent screen, like a configuration page, as I suppose this type
of data does not change every day.

If you still want to be able to "select one blood type or create a new
one", I would suggest looking at this tag:
http://hobocentral.net/tagdef/hobo_bootstrap_ui/hobo_bootstrap_ui/select-one-or-new.
It uses a modal to create new records when editing another model, but
it can be a bit tricky to set up.

Warm regards,
Ignacio

El 18/07/14 23:50, Quiliro Ordóñez Baca escribió:
>> I would like to add new stub for a child model inside the parent
>> edit page. How can that be done?
> 
> I have an Employee resource which belongs_to a Company resource.
> And the Employee resource also belongs to the Blood_type resource.
> In the Company show view I have managed to have the employees
> displayed and edited. But I cannot add any new Blood_types. How can
> I handle that if I have auto_actions :except => :index in the
> Blood_types controller.
> 
> -- Saludos libres, Quiliro Ordóñez 600 8579
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlPM6AIACgkQBPlUJ6RHaOT7gQCdEsRV2+aPm7kor1ZkE1pMmI9D
CQEAn3RSz7WUbCup38N6FdwNcnacTFm8
=SaF7
-----END PGP SIGNATURE-----

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to