• Welcome to PHPVIBE Forums. Please log in.

Male Female Select: only male stays actvie-Female does not

Started by spirog,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

spirogTopic starter

Male Female Select: only male stays actvie-Female does not

see photo
  •  

marketania

  •  

Marius P.

Indeed. It was missing the active class, it was just checked.

Change it in tpl/main/profile/edit.php to

<label class="btn btn-outline btn-primary <?php if($profile->gender > 1) { ?>active<?php } ?>">
<input type="radio" name="gender" autocomplete="off" value="2" <?php if($profile->gender > 1) { ?>checked="checked"<?php } ?> />
<i class="icon icon-check text-active" aria-hidden="true">
<?php echo _lang("Female"); ?>
</label>



Or patch when I upload the full patch.
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (1)

Started by tweky94


Replies: 0
Views: 1206