1 {include file="CRM/common/TrackingFields.tpl"}
3 {capture assign='reqMark'}<span class="marker" title="{ts}This field is required.{/ts}">*</span>{/capture}
5 <h3>{ts 1=$mer_participant->display_name 2=$mer_participant->email}Choose Events For %1 (%2){/ts}</h3>
7 {foreach from=$slot_fields key=slot_name item=field_name}
12 <div class="slot_options">
14 {$form.$field_name.html}
20 <script type="text/javascript">
21 var session_options = {$session_options};
23 for (var radio_id in session_options)
25 var info = session_options[radio_id];
26 var label_sel = "label[for=" + radio_id + "]";
27 cj("#"+radio_id +","+ label_sel).wrapAll("<li>");
28 if (info.session_full) {
29 cj("#"+radio_id).prop('disabled', true);
30 cj("#"+radio_id).after('<span class="error">{/literal}{ts escape='js'}Session is Full{/ts}{literal}: </span>');
32 var more = cj('<a href="#">{/literal}{ts escape='js'}more info{/ts}{literal}</a>').click(function(event) {
33 event.preventDefault();
34 var nfo = cj(this).data("session_info");//F-!
35 cj("<div style='font-size: 90%;'>" + (nfo.session_description || "-{/literal}{ts escape='js'}No description available for this event{/ts}{literal}-") + "</div>").dialog({
36 title: nfo.session_title,
43 more.data("session_info", info);
44 cj(label_sel).append(" ", more);
49 <div id="crm-submit-buttons" class="crm-submit-buttons">
50 {include file="CRM/common/formButtons.tpl" location="bottom"}
53 {include file="CRM/Event/Cart/Form/viewCartLink.tpl"}