On Fri, Feb 13, 2009 at 3:19 PM, Paul Eden <benchl...@gmail.com> wrote: > > Just remove the > > <button > onclick="document.location='{{=URL("admin","default","design",args=request.application)}}'">admin</button> > <button onclick="$('#request').slideToggle()">request</button> > <div class="hidden" id="request"><h2>request</h2>{{=BEAUTIFY(request)}}</div> > <button onclick="$('#session').slideToggle()">session</button> > <div class="hidden" id="session"><h2>session</h2>{{=BEAUTIFY(session)}}</div> > <button onclick="$('#response').slideToggle()">response</button> > <div class="hidden" > id="response"><h2>response</h2>{{=BEAUTIFY(response)}}</div> > <script>$('.hidden').hide();</script> > > part and those buttons will not longer show up. > > The views/generic.html file is the view that a particular controller > function uses when there is not a view file specifically created for > it, the default view if you will.
Better create a file views/default/user.html with the following content: {{extend 'layout.html'}} <div>{{=form}}</div> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---