On Monday, August 3, 2015 at 2:51:35 PM UTC-7, Alex Glaros wrote:
>
> is there a way to make the edit button (<i class="icon-pencil"></i>) and
> other non-editing info temporarily disappear when editing in the form?
>
> how would view "know" if in edit mode?
>
>
You could have the onclick() routine toggle visibility as well as doing a
load.
Something like
document.getElementById("formula").style.visibility="hidden" ;
/dps
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.