Skip to content

Commit

Permalink
fix search
Browse files Browse the repository at this point in the history
  • Loading branch information
vcantu committed Jun 26, 2017
1 parent ec99568 commit 2329267
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions public/views/members/templates/members.view.client.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
flex-gt-sm="70"
flex-offset-gt-sm="15">
<md-list>
<md-list-item ng-repeat="rep in model.senate | limitTo: 15">
<md-list-item ng-repeat="rep in model.senate | limitTo: 50">
<representative-item model="model" representative="rep"
flex="100"></representative-item>
</md-list-item>
Expand All @@ -25,7 +25,7 @@
flex-gt-sm="70"
flex-offset-gt-sm="15">
<md-list>
<md-list-item ng-repeat="rep in model.house | limitTo: 15">
<md-list-item ng-repeat="rep in model.house | limitTo: 50">
<representative-item model="model" representative="rep"
flex="100"></representative-item>
</md-list-item>
Expand Down
10 changes: 2 additions & 8 deletions public/views/search/templates/search.view.client.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@
<form name="loginForm" class="row">
<md-input-container class="md-icon-float md-block">
<md-icon md-font-set="material-icons" class="location">place</md-icon>
<label>Search By Location</label>
<label>Search By Location or Name</label>
<input ng-model="searchText" name="search" type="text"
placeholder="'Purple St, Springfield MA' or 'Pennsylvania'">
<div ng-messages="loginForm.email.$error" multiple md-auto-hide="false">
<div ng-message="required">You must enter a password.</div>
<div ng-message="pattern">
Must be a valid email address
</div>
</div>
placeholder="'Purple St, Springfield MA', 'Pennsylvania' or 'Rand Paul">
</md-input-container>
<md-card-actions layout="row" layout-align="end center">
<md-button class="md-raised md-primary" aria-label="Search"
Expand Down

0 comments on commit 2329267

Please sign in to comment.