Doubts concerning ActionItem#1011

Antonio Terceiro terceiro at colivre.coop.br
Thu Aug 8 16:29:38 BRT 2013


On Thu, Aug 08, 2013 at 03:36:55PM -0300, Daniel Costa Bucher wrote:
> > the problem is that showing/not showing the optional fields during
> > signup is handled in app/views/profile_editor/_person_form.html.erb (it
> > is used from both the signup screen and from the "edit" profile screen),
> > and the image field is not there. This is because any type of profile
> > has an image, not only people, but then you will have to find a creative
> > sollution that does not involve duplicating the image selection code for
> > people and non-people.
> >
> Can we have a partial that renders another partial? That way we could add
> the image field on a partial and render it
> on the _person_form.html.erb and on the _organization_custom_fields.rhtml
> (that's the partial for both enterprise and community right?).

Sure, why not.

-- 
Antonio Terceiro <terceiro at colivre.coop.br>
Colivre - Cooperativa de Tecnologias Livres
http://www.colivre.coop.br/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20130808/d321da9d/attachment.pgp>


More information about the Noosfero-dev mailing list