Revert the revertion of multiline and clean it up for new directive.

This commit is contained in:
Tor Hveem 2014-04-26 18:16:46 +02:00
commit 20a8289072
3 changed files with 23 additions and 6 deletions

View file

@ -1,6 +1,7 @@
<form class="form form-horizontal" ng-submit="sendMessage()">
<form class="form form-horizontal" id="inputform" ng-submit="sendMessage()">
<div class="input-group">
<input id="{{inputId}}" type="text" class="form-control monospace" autocomplete="off" >
<textarea id="{{inputId}}" class="form-control monospace" ng-trim="false" rows="1" autocomplete="off" ng-model="command">
</textarea>
<span class="input-group-btn">
<button class="btn btn-default btn-primary">Send</button>
</span>