Code

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#4362 closed (duplicate)

Formpreview doesn't allow preview and correction form on different pages

Reported by: Indy Owned by: nobody
Component: contrib.formtools Version: master
Severity: Keywords: formtools, preview
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The current form preview displays the preview and correction form on one page. This is not very handy for complex and/or custom forms. Sometimes you want to display only a preview and place a submit and change button below it.

The attached patch allows the placement of a submit button with dyamic name {{ edit_field }} below the preview page. If this button is pressed the orginial form is shown to correct the data.

Attachments (2)

preview.diff (1.2 KB) - added by Indy 7 years ago.
preview.2.diff (1.3 KB) - added by Indy 7 years ago.
Done a minor correction

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Indy

Changed 7 years ago by Indy

Done a minor correction

comment:1 Changed 6 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

If you want multiple pages, you want a wizard.

comment:2 Changed 6 years ago by jacob

Grump. That was supposed to be a clever link to #3218. Should've used preview.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.