Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
On the views edit field form (admin/structure/views/view/content > edit any field) The "remove" button should be a "danger" button.
There are three types of buttons supported in core and in the Seven style guide. Standard, primary, and danger.
It's important that the correct button types are used consistently throughout Drupal
Remaining tasks
Add the button--danger class to the form element, so it looks like a danger button
Beta phase evaluation
Issue category | Bug because it doesn't meet usability standards |
---|---|
Issue priority | Not critical because minor usability issue |
Unfrozen changes | Unfrozen because it only changes markup/ |
Comment | File | Size | Author |
---|---|---|---|
#5 | Screenshot 2015-04-13 17.09.42.jpg | 448.07 KB | LewisNyman |
#2 | view_field_edit_form_remove_button_danger-2469933.patch | 518 bytes | Cauliflower |
Comments
Comment #1
Cauliflower CreditAttribution: Cauliflower commentedComment #2
Cauliflower CreditAttribution: Cauliflower commentedComment #3
Cauliflower CreditAttribution: Cauliflower commentedComment #4
vpeltot CreditAttribution: vpeltot commentedThis change is OK for me.
Comment #5
LewisNymanLooks good to me! Thanks.
Comment #6
alexpottCommitted 9201dae and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.