glowingbear-mainbox/directives/input.html
David Cormier c04b6e64f6 Let user specify the id of the input bar
Input bar id is not globally set, but passed to the directive
through the input-id attribute.
2014-02-25 09:12:52 -05:00

8 lines
310 B
HTML

<form class="form form-horizontal" ng-submit="sendMessage()">
<div class="input-group">
<input id="{{inputId}}" type="text" class="form-control monospace" autocomplete="off" >
<span class="input-group-btn">
<button class="btn btn-default btn-primary">Send</button>
</span>
</div>
</form>