On Sunday, September 4, 2022 at 8:00:25 PM UTC-7 [email protected] wrote:
> Hello everyone, I think I have an issue that can not be resolved that easy
> to be quite honest I have a custom form and an post form on the same page
> my issue is I think I made a mistake with the design since it is all in
> between tabs see screenshot attached.
>
> So my question would be is there a better solution or should I restyle the
> whole page ?
>
>
In the code below, I don't see where you start the form.
> Here is the code aswell for reference :
>
> <div id="Activity" class="tabcontent">
> {{if len(activities_project):}}
> <h2>Activity </h2>
> <br/>
> <p>
> {{for activity in activities_project:}}
> <p>{{=projects.project_name}} says <i>{{=activity.body}} Posted
> on {{=activity.created_on}} by {{=activity.created_by.first_name}}
> {{=activity.created_by.last_name}}</i>
> </p>
> {{pass}}
> </p>
> {{else:}}
> <h2>No comments posted yet</h2>
> {{pass}}
> {{=form_activity}}
> </div>
> {{=form.custom.submit}}
> {{=form.custom.end}}
>
/dps
--
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/6bb493d3-da34-4229-8399-878685a9d0ffn%40googlegroups.com.