Created
September 29, 2019 16:06
-
-
Save elyosemite/5fdaffbe727fa79751800c9dbbada7b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p><%= showMessageAdmin %></p> | |
| <div class="row"> | |
| <div class="col s5"> | |
| <a class="waves-effect waves-light btn" href="/admin"><i class="material-icons left">cloud</i>Sair</a> | |
| </div> | |
| </div> | |
| <hr> | |
| <table class="highlight responsive-table"> | |
| <thead> | |
| <tr> | |
| <th>ID</th> | |
| <th>Name</th> | |
| <th>Saldo</th> | |
| <th>CPF</th> | |
| <th>Senha</th> | |
| <th>Editar</th> | |
| <th>Excluir</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <% @clients.each do |clt| %> | |
| <tr> | |
| <td><%= clt.id %></td> | |
| <td><%= clt.name %></td> | |
| <td><%= clt.saldo %></td> | |
| <td><%= clt.cpf %></td> | |
| <td><%= clt.password %></td> | |
| <td> | |
| <div class="col s8"> | |
| <a class="waves-effect waves-light btn-small" href="/admin/<%= clt.id %>/edit"><i class="material-icons right">edit</i>Editar</a> | |
| </div> | |
| </td> | |
| <td> | |
| <div class="col s8"> | |
| <a class="waves-effect waves-light btn-small" href="/admin/<%= clt.id %>/destroy"><i class="material-icons right">clear</i>Excluir</a> | |
| </div> | |
| </td> | |
| </tr> | |
| <% end %> | |
| </tbody> | |
| </table> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment