<div class="container">
    <div class="alert alert-danger">
        <form ng-submit="deleteSuggestions()">
            <div class="form-group">
                <label>Borrar listado de sugerencias</label>
                <input type="password" ng-model="deleteSuggestionsPassword" class="form-control width25" placeholder="Password de la cuenta de administraci&oacute;n"/>
            </div>
            <button class="btn" type="submit">Borrar sugerencias</button>
        </form>
    </div>
    <div class="row">
        <div class="form-group">
            <input type="text" class="form-control" ng-model="q.messageText" placeholder="Texto a buscar"/>
        </div>
        
        <table class="table table-striped">
            <th>Env&iacute;o</th>
            <th>Texto del mensaje</th>
            <tr ng-repeat="message in messages | filter:q">
                <td style="white-space: nowrap">{{message.created}}</td>
                <td>{{message.messageText}}</td>
            </tr>
        </table>
    </div>
</div>