newforms-admin admin UI has incorrect button defaults
In the admin UI, there are three save buttons -- Save, Save and continue editing, Save and add another. "Save" is marked as the default button (it is blue). However, hitting Enter in any textbox on the admin page activates the *actual* default button, which is the first one on the form, which is "Save and add another". Therefore, there are the following issues:
- the Save button indicates that it's the default, but it isn't
- the default is actually "Save and add another". This is confusing because hitting Enter in a field, thus performing "save and add another", will actually take you to a new fresh edit form for the model you're editing. Other than the (small) message saying "The <x> was added successfully", this looks exactly like the user hit Enter and it removed all their entered data from the form!
Proposed fix: make the default button be "Save and continue editing": put this button first in the HTML of the form, mark it as default (colour it blue), and order the buttons as required visually with CSS.
Keywords: |
nfa-someday added
|
Triage Stage: |
Unreviewed → Design decision needed
|
Version: |
SVN → newforms-admin
|
Owner: |
changed from nobody to Jannis Leidel
|
Status: |
new → assigned
|
Keywords: |
sprint-ep2008 checkin added
|
Owner: |
changed from Jannis Leidel to Jacob
|
Status: |
assigned → new
|
Triage Stage: |
Design decision needed → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
screenshot of three buttons showing "Save" as default, incorrectly