Thanks for your reply.
Have you tested it without modal?
>
I did test the view outside the modal, and it works fine.
> If if works you may have to debug the javascript using firebug for example.
>
I did try that as well, but the submit button seems to be detached from the
form.
I figured out a different solution, I am not very happy with it, but at
least the
form submits:
<div class="modal-header">
</div> <!-- /.modal-header -->
<div class="modal-body">
{{if form:}}
{{=form}}
{{pass}}
</div> <!-- /.modal-body -->
<div class="modal-footer" {{if form:}} style="display: None;" {{pass}}>
<button id="close" class="btn" data-dismiss="modal"
aria-hidden="true">Close</button>
</div> <!-- /.modal-footer -->
and add a style rule to style .form-actions the way modal-footer is styled.
Kind regards,
Annet
--
---
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].
For more options, visit https://groups.google.com/groups/opt_out.