Opened 8 years ago
Closed 8 years ago
#7083 closed enhancement (fixed)
Harmonize structure of radio and check box input groups.
Reported by: | offereins | Owned by: | |
---|---|---|---|
Milestone: | 2.6 | Priority: | low |
Severity: | minor | Version: | 2.5.0 |
Component: | Extended Profile | Keywords: | has-patch commit |
Cc: | dcavins |
Description
Radio button options have been wrapped in a div; checkbox options are not. Offereins suggested that these two structures be parallel.
I agree; I can't see how adding a basically anonymous div would change the layout in a meaningful way.
Attachments (11)
Change History (22)
#1
@
8 years ago
We use this #field_
ID for the radio buttons template. What happens if both types of profile field are on the same screen? Either viewing, or editing, or managing/creating new fields? Does this situation occur?
#2
@
8 years ago
Hi Paul-
I don't think anything happens. The IDs are unique (they're based on the ID of the profile field), so unless some JS is hunting for divs with an ID starting with field_
, I think we're OK. I'll upload some screen shots.
Let me know if I haven't answered your question.
-David
This ticket was mentioned in Slack in #buddypress by dcavins. View the logs.
8 years ago
This ticket was mentioned in Slack in #buddypress by imath. View the logs.
8 years ago
#5
@
8 years ago
hi @dcavins as discussed during last week dev chat (sorry i'm replying to this ticket this late!!) i found it weird to use sprintf
and then concatenate the strings at the end.
So i'm suggesting 7083.03.patch
Xprofile checkboxes: add div wrapping options