@Anthony
I used a copy of generic.html as a template for my single entry view.
Thanks for links!
@Massimo
Bingo!
Thank you very much!
Marian
W dniu poniedziałek, 28 maja 2012 17:49:50 UTC+2 użytkownik Massimo Di
Pierro napisał:
>
> I think you want:
>
> {{=form}}
>
> On Monday, 28 May 201
I think you want:
{{=form}}
On Monday, 28 May 2012 05:07:16 UTC-5, Marian Siwiak wrote:
>
> It works now, in html I had to change:
>
> {{=BEAUTIFY(response._vars)}}
>
> to
>
> {{=BEAUTIFY(response._vars['form'])}}
>
> br,
> Marian
>
> On Mon, May 28, 2012 at 10:07 AM, Marian Siwiak wrote:
>
>>
>
> view code is default, I never found function called "view".
What do you mean you never found a function called "view"? What are you
trying to do?
It works now, in html I had to change:
>
> {{=BEAUTIFY(response._vars)}}
>
> to
>
> {{=BEAUTIFY(response._vars['form'])}}
>
Are you saying yo
It works now, in html I had to change:
{{=BEAUTIFY(response._vars)}}
to
{{=BEAUTIFY(response._vars['form'])}}
br,
Marian
On Mon, May 28, 2012 at 10:07 AM, Marian Siwiak wrote:
> Sure:
>
> In default.py in controllers, my db is defined like this:
>
> def yeast_manage():
> db.t_yeast.id.re
Sure:
In default.py in controllers, my db is defined like this:
def yeast_manage():
db.t_yeast.id.readable=False
db.t_yeast.f_q.readable=False
if request.args and request.args[-3] == 'view':
response.view = 'default/single_entry.html'
form = SQLFORM.grid(db.t_yeast, fields
5 matches
Mail list logo