Skip to content

Commit

Permalink
Dev: new feature #11930: Show visually the { } for expression managed…
Browse files Browse the repository at this point in the history
… forced attribute

Dev: for textarea too please
  • Loading branch information
Shnoulle committed Nov 21, 2016
1 parent efe8c79 commit 87a9fb8
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -106,7 +106,15 @@

// Textarea
case 'textarea':?>
<?php if(isset($aAttribute['expression']) && $aAttribute['expression']>=2){?>
<div class="input-group">
<div class="input-group-addon">{</div>
<?php } ?>
<textarea class="form-control" id='<?php echo $aAttribute['name'];?>' name='<?php echo $aAttribute['name'];?>'><?php echo $aAttribute['value'];?></textarea>
<?php if(isset($aAttribute['expression']) && $aAttribute['expression']>=2){?>
<div class="input-group-addon">}</div>
</div>
<?php } ?>
<?php
break;
}
Expand Down

0 comments on commit 87a9fb8

Please sign in to comment.