Skip to content

Commit

Permalink
Bug rectification : checkbox and radio button under custom profile
Browse files Browse the repository at this point in the history
fields.
  • Loading branch information
Alexandre-T committed Jan 4, 2014
1 parent 2a2d184 commit 8e2cb78
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions phpBBBootstrap/template/custom_profile_fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@

<!-- BEGIN bool -->
<!-- IF bool.FIELD_LENGTH eq 1 -->
<!-- BEGIN options --><label for="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}" class="radio-inline"><input type="radio" class="form-control radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}" value="{bool.options.OPTION_ID}"{bool.options.CHECKED} /> {bool.options.VALUE}</label> <!-- END options -->
<!-- BEGIN options --><label class="radio-inline"><input type="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}" value="{bool.options.OPTION_ID}" {bool.options.CHECKED} /> {bool.options.VALUE}</label><!-- END options -->
<!-- ELSE -->
<input class="form-control" type="checkbox" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}"<!-- IF bool.FIELD_VALUE --> checked="checked"<!-- ENDIF --> />
<div class="checkbox">
<label>
<input type="checkbox" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}"<!-- IF bool.FIELD_VALUE --> checked="checked"<!-- ENDIF --> />
</label>
</div>
<!-- ENDIF -->
<!-- END bool -->

Expand Down

0 comments on commit 8e2cb78

Please sign in to comment.