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 <siw...@gmail.com> wrote:
>
>> 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=[db.t_yeast.f_gene_id, 
>> db.t_yeast.f_gene_desc], onupdate=auth.archive, deletable=False, 
>> editable=False, create=False, maxtextlength=128, user_signature=False)
>>     return locals()
>>
>> view code is default, I never found function called "view". 
>>
>> best regards,
>> Marian
>>
>>
>> On Mon, May 28, 2012 at 3:09 AM, Anthony <abasta...@gmail.com> wrote:
>>
>>> Can you show your controller and view code?
>>>
>>>
>>> On Sunday, May 27, 2012 6:27:36 PM UTC-4, Marian Siwiak wrote:
>>>>
>>>> Hello,
>>>>
>>>> I've got simple question, to which I cna't find simple answer. 
>>>> I formatted "View" of my entries, showing fields I want to show, hidin 
>>>> those I don't want to show. 
>>>> When I get page with "view" of the row of my datable, it starts with 
>>>> "form:" - how do I remove this? 
>>>>
>>>> thanks in advance,
>>>> Marian
>>>>
>>>
>>
>

Reply via email to