{{if request.args(0)=='login':}}
{{=P(0)}}
{{extend 'login_layout.html'}}
{{else:}}
{{=P(1)}}
{{extend 'layout.html'}}
{{pass}}

{{=form}}

It always take the second layout...

Richard

On Wed, Nov 24, 2010 at 5:25 PM, Albert Abril <[email protected]>wrote:

> Or  using auth.login() in your controller/view instead of auth().
>
>
> On Wed, Nov 24, 2010 at 10:41 PM, Richard Vézina <
> [email protected]> wrote:
>
>> Hello,
>>
>> Is there a way to have a particular layout for default/user/login that
>> will not affect ddefault/user/not_authorized for example?
>>
>> I try by adding a login.html in view without success.
>>
>> Thanks
>>
>> Richard
>>
>
>

Reply via email to