Hi

You can try with this

db.posts.question.label = ' '

label attr replace field name



El mié., 18 de mar. de 2020 a la(s) 09:51, Maurice Waka (
[email protected]) escribió:

> Hello,
>
> I'm trying to customize the SQLFORM to look like textarea/input....with
> text area floating left and submit button to the right and not bottom. I'm
> using the LOAD signature.
>
> I also want to hide the filed name (labelled as Questions see attached).
>
> Currently with this code, I cant hide the field name and I cant find a way
> to float the submit button to the right.
>
> Attached is how the form looks like.
>
> def post():
>     #db.posts.message.readable = False#Not working with this code
>     return dict(form=SQLFORM(db.posts, readable=False).process(),
>         posts=db(db.posts.author == auth.user.id).select() )
>
>
> View page...post.load
> <div class="bottom_wrapper">
> {{=form}}
> </div>
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/c8216348-8f12-4e8e-90c2-7e4ef9a482be%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/c8216348-8f12-4e8e-90c2-7e4ef9a482be%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CAHxJ-7oD-q_bewVyZbcViPAeKUx4kzy%2BMbCTbU%2B5_BA1a%2BSSew%40mail.gmail.com.

Reply via email to