added demo for sequence of accordion mappings and form item inside pa…#48
added demo for sequence of accordion mappings and form item inside pa…#48schattenlink wants to merge 1 commit into
Conversation
|
@schattenlink please review our guidelines for making contributions. This PR lacks tests, so it cannot be accepted in its current state. |
|
@stevepiercy No worries. We discussed this privately before opening a PR. I needed to have a proof-of-problem, so that I can fill in both solutions and tests. |
|
@miohtama you might want to urge people to file issues for some such. |
|
@frispete Yeah, a fork + branch + issue would have been better. I did not think my instructions throughly. |
stevepiercy
left a comment
There was a problem hiding this comment.
I'm following up on this PR. I don't know whether this is this an actual PR or an example of a bug?
If a PR:
- Would you please make the spelling corrections?
- We now use Black to format code. Would you please do that as well?
- This needs tests.
If part of a bug report, which issue is it?
If there is no issue, would you please create one?
I am working on a release of Deform 3.0, and this would be something worth working on.
Thank you!
| return self.render_form(deform.Form(Schema(), buttons=('submit',))) | ||
|
|
||
| @view_config(renderer='templates/form.pt', | ||
| name='accordion_as_sequenze_item_and_form_element_inside_mapping_header') |
There was a problem hiding this comment.
| name='accordion_as_sequenze_item_and_form_element_inside_mapping_header') | |
| name='accordion_as_sequence_item_and_form_element_inside_mapping_header') |
|
|
||
| @view_config(renderer='templates/form.pt', | ||
| name='accordion_as_sequenze_item_and_form_element_inside_mapping_header') | ||
| @demonstrate('accordion as sequenze item and form element inside mapping header') |
There was a problem hiding this comment.
| @demonstrate('accordion as sequenze item and form element inside mapping header') | |
| @demonstrate('accordion as sequence item and form element inside mapping header') |
| # application is inside panel header | ||
| application = Application() | ||
| title = 'open' # to open the accordion | ||
| # text is iside panel body |
There was a problem hiding this comment.
| # text is iside panel body | |
| # text is inside panel body |
…nel header