Skip to content

Commit

Permalink
Dev: Add a button to show help inline
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Mar 13, 2018
1 parent eb8a421 commit 6331168
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -35,13 +35,18 @@
<?php endif; ?>
<div class="form-group">
<!-- Form Group -->
<a class="btn btn-default btn-xs pull-right" data-toggle="collapse" href="#help<?php echo $aAttribute['name'];?>" aria-expanded="false" aria-controls="help<?php echo $aAttribute['name'];?>">
<span class="fa fa-info-circle "></span>
<span class="sr-only"><?php gT("Show help"); ?></span>
</a>
<!-- Label -->
<label class="control-label" for='<?php echo $aAttribute['name'];?>' title='<?php echo $aAttribute['help'];?>'>
<label class="control-label" for='<?php echo $aAttribute['name'];?>'>
<?php
echo $aAttribute['caption'];
if ($aAttribute['i18n']==true) { ?> (<?php echo $aAttribute['language'] ?>)<?php }
?>:
</label>
<p class="help-block collapse" id="help<?php echo $aAttribute['name'];?>"><?php echo $aAttribute['help'];?></p>

<!-- Input -->
<div class="">
Expand Down

0 comments on commit 6331168

Please sign in to comment.