Open GoogleCodeExporter opened 9 years ago
with the fix you´r suggesting, the table header is missing if I click on "add
..." ... right?
Original comment by sehmaschine
on 29 Mar 2011 at 12:27
Just reviewed my own change... sorry for the spam but the Change should be
this: http://paste.pocoo.org/show/etpLB4EIoe9aY5k9f1CV/
This is much more reliable or... at least works ;)
Original comment by cgr...@gmail.com
on 29 Mar 2011 at 2:18
But yea, you're wrong. I'm suggesting that the table header is missing if
there are no extra forms visible.
Original comment by cgr...@gmail.com
on 29 Mar 2011 at 2:19
I still don´t get it. the table-header is not visible if there are no
extra-forms. but if I click the add-button the table-header should be there
(but how do I get the header if it´s not in the template ...).
Original comment by sehmaschine
on 29 Mar 2011 at 2:23
That's why I created a new patch, just for convenience, I attached it again.
Original comment by cgr...@gmail.com
on 29 Mar 2011 at 2:38
Attachments:
looks better ... thanks.
Original comment by sehmaschine
on 29 Mar 2011 at 2:45
unfortunately, the patch doesn´t completely work:
if you set extra=0, then add an inline-row, add an error somewhere within your
form (e.g. remove a required-field), then save ... the table-header is not
there.
that´s one of the things we´re very careful about: the form needs to be
preserved in case of errors. not sure if this can be solved since the added
inline-row is there, but extra is still "0".
I´d like to remove the table-header as well (if there are no inline-forms).
that being said, the error-case is more important to me.
Original comment by sehmaschine
on 8 Apr 2011 at 7:09
Original issue reported on code.google.com by
cgr...@gmail.com
on 29 Mar 2011 at 12:24Attachments: