File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed
styles/components/events/view/overview
templates/components/forms/orders Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1616 <div class =" item" data-value =" text" >{{ t " Short Answer" }} </div >
1717 <div class =" item" data-value =" paragraph" >{{ t " Paragraph" }} </div >
1818 <div class =" item" data-value =" number" >{{ t " Number" }} </div >
19+ <div class =" item" data-value =" boolean" >{{ t " Yes/No" }} </div >
1920 <div class =" item" data-value =" richtextlink" >{{ t " Rich Text Links" }} </div >
2021 </div >
2122 </UiDropdown >
Original file line number Diff line number Diff line change 1616 }
1717 }
1818}
19+
20+
21+ .mr-radio {
22+ margin-right : 30px !important ;
23+ }
Original file line number Diff line number Diff line change 7575 {{ inc index }}{{ t ' -for- ' }}{{ holder.ticket.name }}
7676 </label >
7777 </div >
78- {{ #each this.allFields.attendee as |field |}}
78+ {{ #each this.allFields.attendee as |field index |}}
7979 {{ #if field.isIncluded }}
8080 {{ #if (or field.isFixed this.event.isTicketFormEnabled )}}
8181 <div class =" field" >
8585 @value ={{ mut (get holder field.fieldIdentifier )}}
8686 @name ={{ if field.isRequired (concat field.fieldIdentifier " _required_" index ) (concat field.fieldIdentifier " _" index )}} />
8787 {{ /if }}
88+ {{ #if (eq field.type ' boolean' )}}
89+ <div class =" ui radio checkbox mr-radio" >
90+ <Widgets::Forms::RadioButton
91+ @name ={{ if field.isRequired (concat field.fieldIdentifier " _required_" index ) (concat field.fieldIdentifier " _" index )}}
92+ @value ={{ true }} @checked ={{ mut (get holder field.identifierPath )}} />
93+ <label for =" yes_include" >{{ t ' Yes' }} </label >
94+ </div >
95+ <div class =" ui radio checkbox mr-radio" >
96+ <Widgets::Forms::RadioButton @name ={{ if field.isRequired (concat field.fieldIdentifier " _required_" index ) (concat field.fieldIdentifier " _" index )}}
97+ @value ={{ false }} @checked ={{ mut (get holder field.identifierPath )}} />
98+ <label for =" no_include" >{{ t ' No' }} </label >
99+ </div >
100+ {{ /if }}
88101 {{ #if (or (is-input-field field.type ) (eq field.type ' richtextlink' ))}}
89102 {{ #if (or field.isLongText (eq field.type ' richtextlink' )) }}
90103 <Widgets::Forms::RichTextEditor
You can’t perform that action at this time.
0 commit comments