diff options
| author | mo khan <mo@mokhan.ca> | 2017-02-26 13:28:50 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2017-02-26 13:28:50 -0700 |
| commit | 294e8e669d4dea4751284534f66d02a78a244cd6 (patch) | |
| tree | 77866ed1001cbbba45731bcdcb1d5263f7099d3a | |
| parent | d6c9788771f7dcbd96408130bc4e10e6497bee60 (diff) | |
display athlete cards next to each other.
| -rw-r--r-- | app/views/profiles/index.html.erb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/app/views/profiles/index.html.erb b/app/views/profiles/index.html.erb index 7881791..c46c271 100644 --- a/app/views/profiles/index.html.erb +++ b/app/views/profiles/index.html.erb @@ -1,7 +1,7 @@ <div class="container"> <div class="columns"> - <div class="column is-3"> - <% @users.each do |user| %> + <% @users.each do |user| %> + <div class="column is-one-quarter"> <div class="card"> <div class="card-content"> <div class="media"> @@ -23,9 +23,8 @@ </div> </div> </div> - <% end %> - - <%= paginate @users, remote: false %> - </div> + </div> + <% end %> + <%= paginate @users, remote: false %> </div> </div> |
