SHARE
TWEET

Untitled

a guest Oct 19th, 2019 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <a class="btn btn-secondary add_fields" data-association-insertion-node="#sessions" data-association-insertion-method="append" data-association="session" data-associations="sessions" data-association-insertion-template="<div class='panel panel-default nested-fields'>
  2. <div class='panel-heading'>
  3. <h4 class='panel-title'>
  4. Séance D'Événement
  5. <input type="hidden" name="event[sessions_attributes][new_sessions][_destroy]" id="event_sessions_attributes_new_sessions__destroy" value="false" /><a class="pull-right remove_fields dynamic" href="#"><i class='fa fa-trash'></i>
  6. </a></h4>
  7. </div>
  8. <div class='panel-collapse'>
  9. <div class='panel-body'>
  10. <div class='row'>
  11. <div class='col-xs-12'>
  12. <div class='complexdatetimepicker'>
  13. <div class='results row'>
  14. <div class='col-xs-12'>
  15. <div class='form-group'>
  16. <label for="event_sessions_attributes_new_sessions_start_dates">Dates</label>
  17. <div class='input-group toggle_cdtp' id='complexdatetimepicker-toggle'>
  18. <div class='textual_results form-control alert-info'>
  19. <div class="form-group string optional readonly event_sessions_dates_label"><input class="form-control string optional readonly" readonly="readonly" type="text" name="event[sessions_attributes][new_sessions][dates_label]" id="event_sessions_attributes_new_sessions_dates_label" /></div>
  20. </div>
  21. <a class='input-group-addon alert-info'>
  22. <i class='fa fa-calendar'></i>
  23. </a>
  24. </div>
  25. </div>
  26. </div>
  27. <div class='hidden'>
  28. <div class='col-sm-6 start_dates'>
  29. <div class="form-group text optional event_sessions_start_dates"><label class="control-label text optional" for="event_sessions_attributes_new_sessions_start_dates">Start dates :</label><input class="form-control" type="text" value="" name="event[sessions_attributes][new_sessions][start_dates][]" id="event_sessions_attributes_new_sessions_" /></div>
  30. </div>
  31. <div class='col-sm-6 end_dates'>
  32. <div class="form-group text optional event_sessions_end_dates"><label class="control-label text optional" for="event_sessions_attributes_new_sessions_end_dates">End dates :</label><input class="form-control" type="text" value="" name="event[sessions_attributes][new_sessions][end_dates][]" id="event_sessions_attributes_new_sessions_" /></div>
  33. </div>
  34. </div>
  35. </div>
  36. <div class='complex-datetimepicker-container row'>
  37. <div class='col-xs-12'>
  38. <div class='panel panel-default'>
  39. <div class='panel-body'>
  40. <div class='row'>
  41. <div class='date-formats-picker col-xs-3'>
  42. <ul class='nav nav-pills nav-stacked'>
  43. <li class='format' role='presentation'>
  44. <a data-date-format='uniq' href='#'>Le ...</a>
  45. </li>
  46. <li class='format' role='presentation'>
  47. <a data-date-format='multiple' href='#'>Les ...</a>
  48. </li>
  49. <li class='format' role='presentation'>
  50. <a data-date-format='range' href='#'>Du ... Au ...</a>
  51. </li>
  52. </ul>
  53. </div>
  54. <ul class='date-pickers col-xs-9'>
  55. <li class='date-formats-picker-target' data-date-format='uniq'>
  56. <div class='cdtp_datepicker'></div>
  57. </li>
  58. <li class='date-formats-picker-target' data-date-format='multiple'>
  59. <div class='cdtp_datepicker'></div>
  60. </li>
  61. <li class='date-formats-picker-target' data-date-format='range'>
  62. <div class='row'>
  63. <div class='col-xs-1'>
  64. Du
  65. </div>
  66. <div class='col-xs-5'>
  67. <div class='cdtp_datepicker'></div>
  68. </div>
  69. <div class='col-xs-1'>
  70. Au
  71. </div>
  72. <div class='col-xs-5'>
  73. <div class='cdtp_datepicker'></div>
  74. </div>
  75. </div>
  76. </li>
  77. </ul>
  78. <ul class='time-formats-picker col-xs-3'>
  79. <li class='date-formats-picker-target' data-date-format='uniq'>
  80. <ul class='nav nav-pills nav-stacked'>
  81. <li class='format' role='presentation'>
  82. <a data-time-format='at' href='#'>à</a>
  83. </li>
  84. <li class='format' role='presentation'>
  85. <a data-time-format='from_to' href='#'>de ... à ...</a>
  86. </li>
  87. </ul>
  88. </li>
  89. <li class='date-formats-picker-target' data-date-format='multiple'>
  90. <ul class='nav nav-pills nav-stacked'>
  91. <li class='format' role='presentation'>
  92. <a data-time-format='at' href='#'>à</a>
  93. </li>
  94. <li class='format' role='presentation'>
  95. <a data-time-format='from_to' href='#'>de ... à ...</a>
  96. </li>
  97. </ul>
  98. </li>
  99. <li class='date-formats-picker-target' data-date-format='range'>
  100. <ul class='nav nav-pills nav-stacked'>
  101. <li class='format' role='presentation'>
  102. <a data-time-format='at' href='#'>à</a>
  103. </li>
  104. <li class='format' role='presentation'>
  105. <a data-time-format='from_to_and' href='#'>de ... à ...</a>
  106. </li>
  107. </ul>
  108. </li>
  109. </ul>
  110. <ul class='time-pickers col-xs-9'>
  111. <li class='time-formats-picker-target' data-time-format='at'>
  112. <div class='row'>
  113. <div class='col-xs-2 text-center'>à</div>
  114. <div class='col-xs-4'><select name="time_at_hours" id="time_at_hours" class="form-control input-sm timepicker"><option value="" label=" "></option><option value="0">0</option>
  115. <option value="1">1</option>
  116. <option value="2">2</option>
  117. <option value="3">3</option>
  118. <option value="4">4</option>
  119. <option value="5">5</option>
  120. <option value="6">6</option>
  121. <option value="7">7</option>
  122. <option value="8">8</option>
  123. <option value="9">9</option>
  124. <option value="10">10</option>
  125. <option value="11">11</option>
  126. <option value="12">12</option>
  127. <option value="13">13</option>
  128. <option value="14">14</option>
  129. <option value="15">15</option>
  130. <option value="16">16</option>
  131. <option value="17">17</option>
  132. <option value="18">18</option>
  133. <option value="19">19</option>
  134. <option value="20">20</option>
  135. <option value="21">21</option>
  136. <option value="22">22</option>
  137. <option value="23">23</option></select></div>
  138. <div class='col-xs-2 text-center'>h</div>
  139. <div class='col-xs-4'><select name="time_at_minutes" id="time_at_minutes" class="form-control input-sm timepicker"><option value="" label=" "></option><option value="0">0</option>
  140. <option value="5">5</option>
  141. <option value="10">10</option>
  142. <option value="15">15</option>
  143. <option value="20">20</option>
  144. <option value="25">25</option>
  145. <option value="30">30</option>
  146. <option value="35">35</option>
  147. <option value="40">40</option>
  148. <option value="45">45</option>
  149. <option value="50">50</option>
  150. <option value="55">55</option></select></div>
  151. </div>
  152. </li>
  153. <li class='time-formats-picker-target' data-time-format='from_to'>
  154. <div class='row'>
  155. <div class='col-xs-2 text-center'>de</div>
  156. <div class='col-xs-4'><select name="time_from_hours" id="time_from_hours" class="form-control input-sm timepicker"><option value="0">0</option>
  157. <option value="1">1</option>
  158. <option value="2">2</option>
  159. <option value="3">3</option>
  160. <option value="4">4</option>
  161. <option value="5">5</option>
  162. <option value="6">6</option>
  163. <option value="7">7</option>
  164. <option value="8">8</option>
  165. <option value="9">9</option>
  166. <option value="10">10</option>
  167. <option value="11">11</option>
  168. <option value="12">12</option>
  169. <option value="13">13</option>
  170. <option value="14">14</option>
  171. <option value="15">15</option>
  172. <option value="16">16</option>
  173. <option value="17">17</option>
  174. <option value="18">18</option>
  175. <option value="19">19</option>
  176. <option value="20">20</option>
  177. <option value="21">21</option>
  178. <option value="22">22</option>
  179. <option value="23">23</option></select></div>
  180. <div class='col-xs-2 text-center'>h</div>
  181. <div class='col-xs-4'><select name="time_from_minutes" id="time_from_minutes" class="form-control input-sm timepicker"><option value="0">0</option>
  182. <option value="5">5</option>
  183. <option value="10">10</option>
  184. <option value="15">15</option>
  185. <option value="20">20</option>
  186. <option value="25">25</option>
  187. <option value="30">30</option>
  188. <option value="35">35</option>
  189. <option value="40">40</option>
  190. <option value="45">45</option>
  191. <option value="50">50</option>
  192. <option value="55">55</option></select></div>
  193. </div>
  194. <div class='row'>
  195. <div class='col-xs-2 text-center'>à</div>
  196. <div class='col-xs-4'><select name="time_to_hours" id="time_to_hours" class="form-control input-sm timepicker"><option value="0">0</option>
  197. <option value="1">1</option>
  198. <option value="2">2</option>
  199. <option value="3">3</option>
  200. <option value="4">4</option>
  201. <option value="5">5</option>
  202. <option value="6">6</option>
  203. <option value="7">7</option>
  204. <option value="8">8</option>
  205. <option value="9">9</option>
  206. <option value="10">10</option>
  207. <option value="11">11</option>
  208. <option value="12">12</option>
  209. <option value="13">13</option>
  210. <option value="14">14</option>
  211. <option value="15">15</option>
  212. <option value="16">16</option>
  213. <option value="17">17</option>
  214. <option value="18">18</option>
  215. <option value="19">19</option>
  216. <option value="20">20</option>
  217. <option value="21">21</option>
  218. <option value="22">22</option>
  219. <option value="23">23</option></select></div>
  220. <div class='col-xs-2 text-center'>h</div>
  221. <div class='col-xs-4'><select name="time_to_minutes" id="time_to_minutes" class="form-control input-sm timepicker"><option value="0">0</option>
  222. <option value="5">5</option>
  223. <option value="10">10</option>
  224. <option value="15">15</option>
  225. <option value="20">20</option>
  226. <option value="25">25</option>
  227. <option value="30">30</option>
  228. <option value="35">35</option>
  229. <option value="40">40</option>
  230. <option value="45">45</option>
  231. <option value="50">50</option>
  232. <option value="55">55</option></select></div>
  233. </div>
  234. </li>
  235. <li class='time-formats-picker-target' data-time-format='from_to_and'>
  236. <div class='row'>
  237. <div class='col-xs-2 text-center'>de</div>
  238. <div class='col-xs-4'><select name="time_from_and_hours" id="time_from_and_hours" class="form-control input-sm timepicker"><option value="0">0</option>
  239. <option value="1">1</option>
  240. <option value="2">2</option>
  241. <option value="3">3</option>
  242. <option value="4">4</option>
  243. <option value="5">5</option>
  244. <option value="6">6</option>
  245. <option value="7">7</option>
  246. <option value="8">8</option>
  247. <option value="9">9</option>
  248. <option value="10">10</option>
  249. <option value="11">11</option>
  250. <option value="12">12</option>
  251. <option value="13">13</option>
  252. <option value="14">14</option>
  253. <option value="15">15</option>
  254. <option value="16">16</option>
  255. <option value="17">17</option>
  256. <option value="18">18</option>
  257. <option value="19">19</option>
  258. <option value="20">20</option>
  259. <option value="21">21</option>
  260. <option value="22">22</option>
  261. <option value="23">23</option></select></div>
  262. <div class='col-xs-2 text-center'>h</div>
  263. <div class='col-xs-4'><select name="time_from_and_minutes" id="time_from_and_minutes" class="form-control input-sm timepicker"><option value="0">0</option>
  264. <option value="5">5</option>
  265. <option value="10">10</option>
  266. <option value="15">15</option>
  267. <option value="20">20</option>
  268. <option value="25">25</option>
  269. <option value="30">30</option>
  270. <option value="35">35</option>
  271. <option value="40">40</option>
  272. <option value="45">45</option>
  273. <option value="50">50</option>
  274. <option value="55">55</option></select></div>
  275. </div>
  276. <div class='row'>
  277. <div class='col-xs-2 text-center'>à</div>
  278. <div class='col-xs-4'><select name="time_to_and_hours" id="time_to_and_hours" class="form-control input-sm timepicker"><option value="0">0</option>
  279. <option value="1">1</option>
  280. <option value="2">2</option>
  281. <option value="3">3</option>
  282. <option value="4">4</option>
  283. <option value="5">5</option>
  284. <option value="6">6</option>
  285. <option value="7">7</option>
  286. <option value="8">8</option>
  287. <option value="9">9</option>
  288. <option value="10">10</option>
  289. <option value="11">11</option>
  290. <option value="12">12</option>
  291. <option value="13">13</option>
  292. <option value="14">14</option>
  293. <option value="15">15</option>
  294. <option value="16">16</option>
  295. <option value="17">17</option>
  296. <option value="18">18</option>
  297. <option value="19">19</option>
  298. <option value="20">20</option>
  299. <option value="21">21</option>
  300. <option value="22">22</option>
  301. <option value="23">23</option></select></div>
  302. <div class='col-xs-2 text-center'>h</div>
  303. <div class='col-xs-4'><select name="time_to_and_minutes" id="time_to_and_minutes" class="form-control input-sm timepicker"><option value="0">0</option>
  304. <option value="5">5</option>
  305. <option value="10">10</option>
  306. <option value="15">15</option>
  307. <option value="20">20</option>
  308. <option value="25">25</option>
  309. <option value="30">30</option>
  310. <option value="35">35</option>
  311. <option value="40">40</option>
  312. <option value="45">45</option>
  313. <option value="50">50</option>
  314. <option value="55">55</option></select></div>
  315. </div>
  316. <div class='from_to_and_optionals'>
  317. <div class='row'>
  318. <div class='col-xs-2 text-center'>et de</div>
  319. <div class='col-xs-4'><select name="time_from_and_hours" id="time_from_and_hours" class="form-control input-sm timepicker"><option value="0">0</option>
  320. <option value="1">1</option>
  321. <option value="2">2</option>
  322. <option value="3">3</option>
  323. <option value="4">4</option>
  324. <option value="5">5</option>
  325. <option value="6">6</option>
  326. <option value="7">7</option>
  327. <option value="8">8</option>
  328. <option value="9">9</option>
  329. <option value="10">10</option>
  330. <option value="11">11</option>
  331. <option value="12">12</option>
  332. <option value="13">13</option>
  333. <option value="14">14</option>
  334. <option value="15">15</option>
  335. <option value="16">16</option>
  336. <option value="17">17</option>
  337. <option value="18">18</option>
  338. <option value="19">19</option>
  339. <option value="20">20</option>
  340. <option value="21">21</option>
  341. <option value="22">22</option>
  342. <option value="23">23</option></select></div>
  343. <div class='col-xs-2 text-center'>h</div>
  344. <div class='col-xs-4'><select name="time_from_and_minutes" id="time_from_and_minutes" class="form-control input-sm timepicker"><option value="0">0</option>
  345. <option value="5">5</option>
  346. <option value="10">10</option>
  347. <option value="15">15</option>
  348. <option value="20">20</option>
  349. <option value="25">25</option>
  350. <option value="30">30</option>
  351. <option value="35">35</option>
  352. <option value="40">40</option>
  353. <option value="45">45</option>
  354. <option value="50">50</option>
  355. <option value="55">55</option></select></div>
  356. </div>
  357. <div class='row'>
  358. <div class='col-xs-2 text-center'>à</div>
  359. <div class='col-xs-4'><select name="time_to_and_hours" id="time_to_and_hours" class="form-control input-sm timepicker"><option value="0">0</option>
  360. <option value="1">1</option>
  361. <option value="2">2</option>
  362. <option value="3">3</option>
  363. <option value="4">4</option>
  364. <option value="5">5</option>
  365. <option value="6">6</option>
  366. <option value="7">7</option>
  367. <option value="8">8</option>
  368. <option value="9">9</option>
  369. <option value="10">10</option>
  370. <option value="11">11</option>
  371. <option value="12">12</option>
  372. <option value="13">13</option>
  373. <option value="14">14</option>
  374. <option value="15">15</option>
  375. <option value="16">16</option>
  376. <option value="17">17</option>
  377. <option value="18">18</option>
  378. <option value="19">19</option>
  379. <option value="20">20</option>
  380. <option value="21">21</option>
  381. <option value="22">22</option>
  382. <option value="23">23</option></select></div>
  383. <div class='col-xs-2 text-center'>h</div>
  384. <div class='col-xs-4'><select name="time_to_and_minutes" id="time_to_and_minutes" class="form-control input-sm timepicker"><option value="0">0</option>
  385. <option value="5">5</option>
  386. <option value="10">10</option>
  387. <option value="15">15</option>
  388. <option value="20">20</option>
  389. <option value="25">25</option>
  390. <option value="30">30</option>
  391. <option value="35">35</option>
  392. <option value="40">40</option>
  393. <option value="45">45</option>
  394. <option value="50">50</option>
  395. <option value="55">55</option></select></div>
  396. </div>
  397. </div>
  398. <div class='row text-center'>
  399. <a class='btn btn-success add_from_to'>
  400. Et de ...
  401. </a>
  402. </div>
  403. </li>
  404. </ul>
  405. <ul class='more col-xs-12'>
  406. <li class='date-formats-picker-target text-center' data-date-format='multiple'>
  407. <a class='btn btn-success add_date'>
  408. <i class='fa fa-plus'></i>
  409. </a>
  410. </li>
  411. </ul>
  412. </div>
  413. </div>
  414. </div>
  415. </div>
  416. </div>
  417. </div>
  418.  
  419. </div>
  420. </div>
  421. <div class='row'>
  422. <div class='col-sm-6'>
  423. <div class="form-group string optional event_sessions_price_label"><label class="control-label string optional" for="event_sessions_attributes_new_sessions_price_label">Prix :</label><input class="form-control string optional" type="text" name="event[sessions_attributes][new_sessions][price_label]" id="event_sessions_attributes_new_sessions_price_label" /></div>
  424. </div>
  425. <div class='col-sm-6'>
  426. <div class='checkbox-group'>
  427. <div class='form-group'>
  428. <div class='checkbox'>
  429. <label><input name="event[sessions_attributes][new_sessions][price_gratis]" type="hidden" value="0" /><input type="checkbox" value="1" name="event[sessions_attributes][new_sessions][price_gratis]" id="event_sessions_attributes_new_sessions_price_gratis" />
  430. Entrée gratuite
  431. </label></div>
  432. </div>
  433. <div class='form-group'>
  434. <div class='checkbox'>
  435. <label><input name="event[sessions_attributes][new_sessions][price_free]" type="hidden" value="0" /><input type="checkbox" value="1" name="event[sessions_attributes][new_sessions][price_free]" id="event_sessions_attributes_new_sessions_price_free" />
  436. Prix libre
  437. </label></div>
  438. </div>
  439. </div>
  440. </div>
  441. <div class='col-sm-12'>
  442. </div>
  443. </div>
  444. <div class='row target-container'>
  445. <div class='target-input col-sm-6'>
  446. <div class="form-group select2 required event_sessions_hall"><label class="control-label select2 required" for="event_sessions_attributes_new_sessions_hall_id"><abbr title="requis">*</abbr> Lieu :</label><select class="form-control select2 optional select2-input form-control" data-ui="select2-simpleform" data-options="{&quot;ajax&quot;:{&quot;url&quot;:&quot;/salles/autocomplete&quot;}}" name="event[sessions_attributes][new_sessions][hall_id]" id="event_sessions_attributes_new_sessions_hall_id"><option value=""></option>
  447. <option value=""></option></select></div>
  448. <div class='row'>
  449. <div class='col-xs-12'>
  450. <div class='select2-additional-infos help-block alert alert-info hidden'>
  451. Informations de contact du lieu :
  452. <span class='content'></span>
  453. </div>
  454. </div>
  455. </div>
  456. </div>
  457. <div class='target-replace hidden col-sm-6'>
  458. <div class='form-group'>
  459. <label class="string required control-label" for="event_sessions_attributes_new_sessions_hall"><abbr title="requis">*</abbr> Lieu :</label>
  460. <input disabled="disabled" type="hidden" name="event[sessions_attributes][new_sessions][hall_id]" id="event_sessions_attributes_new_sessions_hall_id" />
  461. <input type="text" name="hall" id="hall" value="" disabled="disabled" class="form-control" />
  462. </div>
  463. </div>
  464. <div class='col-sm-6'>
  465. <button class='input-button btn btn-secondary open-form-modal' data-url='/proposer-une-salle/modal' type='button'>
  466. Proposer un lieu
  467. </button>
  468. </div>
  469. </div>
  470. <div class='row target-container'>
  471. <div class='target-input col-xs-12'>
  472. <a class="pull-right" href="#" data-target="#help-modal-contact" data-toggle="modal"><span>Aide</span><i class="fa fa-fw fa-question"></i></a>
  473. <div class='form-group'>
  474. <label for="contact">Contact</label>
  475. <div class='row'>
  476. <div class='col-sm-6 col-xs-12'>
  477. <div class='form-group'>
  478. <input label="false" placeholder="Nom" class="form-control" type="text" name="event[sessions_attributes][new_sessions][contact_name]" id="event_sessions_attributes_new_sessions_contact_name" />
  479. </div>
  480. </div>
  481. <div class='col-sm-6 col-xs-12'>
  482. <div class='form-group'>
  483. <input label="false" placeholder="Téléphone" class="form-control" type="text" name="event[sessions_attributes][new_sessions][contact_phone]" id="event_sessions_attributes_new_sessions_contact_phone" />
  484. </div>
  485. </div>
  486. <div class='col-sm-6 col-xs-12'>
  487. <div class='form-group'>
  488. <input label="false" placeholder="Adresse mail" class="form-control" type="text" name="event[sessions_attributes][new_sessions][contact_email]" id="event_sessions_attributes_new_sessions_contact_email" />
  489. </div>
  490. </div>
  491. <div class='col-sm-6 col-xs-12'>
  492. <div class='form-group'>
  493. <input label="false" placeholder="Site web" class="form-control" type="text" name="event[sessions_attributes][new_sessions][contact_website]" id="event_sessions_attributes_new_sessions_contact_website" />
  494. </div>
  495. </div>
  496. </div>
  497. <p class='help-block'>Coordonnées où les lecteurs pourront trouver des renseignements sur votre manifestation (autres que les coordonnées du lieu qui accueille le spectacle).</p>
  498. </div>
  499. </div>
  500. </div>
  501. </div>
  502. </div>
  503. </div>
  504. " href="#">Ajouter</a>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top