File tree Expand file tree Collapse file tree 5 files changed +9
-6
lines changed
rfformradio_item/templates Expand file tree Collapse file tree 5 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 66 "render" : " ./templates/template.php" ,
77 "content" : " ./templates/content.php"
88 },
9+ "defaults" : {
10+ "value" : " check"
11+ },
912 "fields" : {
1013 "label" : {
1114 "label" : " Label" ,
Original file line number Diff line number Diff line change 1- <label class="uk-flex uk-flex-middle"><input class="uk-checkbox rf-checkbox <?php echo $ props ['css_classes ' ] ?> <?php echo $ props ['checkbox_required ' ]?"required " :"" ?> " type="checkbox" name="<?php echo $ element ['field_name ' ] ?> []" value="<?php echo $ props ['value ' ] ?> "><div class="uk-margin-small-left"><?php echo $ props ['label ' ] ?> </div></label>
1+ <label class="uk-flex uk-flex-middle"><input class="uk-checkbox rf-checkbox <?php echo $ props ['css_classes ' ] ?> <?php echo $ props ['checkbox_required ' ]?"required " :"" ?> " type="checkbox" name="<?php echo $ element ['field_name ' ] ?> []" value="<?php echo empty ( $ props [ ' value ' ])? " 1 " : $ props ['value ' ] ?> "><div class="uk-margin-small-left"><?php echo $ props ['label ' ] ?> </div></label>
Original file line number Diff line number Diff line change 3131?>
3232 <div class="<?= $ class ?> >">
3333 <?php foreach ($ children as $ child ) : ?>
34- <?= $ builder ->render ($ child , ['element ' => $ props ]) ?>
34+ <?= $ builder ->render ($ child , ['element ' => $ props, ' i ' => $ i ]) ?>
3535 <?php $ i ++ ?>
3636 <?php endforeach ?>
3737 </div>
Original file line number Diff line number Diff line change 1- <label class="uk-flex uk-flex-middle"><input class="uk-radio rf-radio" type="radio" name="<?php echo $ element ['field_name ' ] ?> " value="<?php echo $ props ['value ' ] ?> " <?php echo $ element ['radio_required ' ]?"required " : "" ; ?> > <div class="uk-margin-small-left"><?php echo $ props ['label ' ] ?> </div></label>
1+ <label class="uk-flex uk-flex-middle"><input class="uk-radio rf-radio" type="radio" name="<?php echo $ element ['field_name ' ] ?> " value="<?php echo empty ( $ props [ ' value ' ])? $ i : $ props ['value ' ] ?> " <?php echo $ element ['radio_required ' ]?"required " : "" ; ?> > <div class="uk-margin-small-left"><?php echo $ props ['label ' ] ?> </div></label>
Original file line number Diff line number Diff line change 22<extension version =" 3.8" type =" plugin" method =" upgrade" group =" system" >
33 <name >PLG_RFE_FORM</name >
44 <author >Tsymbal and Progreccor</author >
5- <creationDate >11 .08.2021</creationDate >
6- <copyright >Copyright (C) 2005 - 2021 Open Source Matters . All rights reserved.</copyright >
5+ <creationDate >22 .08.2021</creationDate >
6+ <copyright >Copyright © 2021 Delo Design . All rights reserved.</copyright >
77 <license >GNU General Public License version 2 or later; see LICENSE.txt</license >
88 <authorEmail >boss@delo-design.ru</authorEmail >
99 <authorUrl >https://delo-design.ru</authorUrl >
10- <version >1.2.2 </version >
10+ <version >1.2.3 </version >
1111 <description >PLG_RFE_FORM_XML_DESCRIPTION</description >
1212 <scriptfile >script.php</scriptfile >
1313
You can’t perform that action at this time.
0 commit comments