Sha256: d7c4b548fc3e5e0e770164b7279aabf4f07ecc56c7f944bd8956002154505adb
Contents?: true
Size: 1004 Bytes
Versions: 3
Compression:
Stored size: 1004 Bytes
Contents
<div class="row"> <div class="col-md-8"> <h4>Cadastro de álbuns</h4> <% if can? :create, WebAdmin::Album %> <div class="row"> <div class="col-md-12"><%= link_to 'Novo', new_album_path, class: 'btn btn-primary link-new' %></div> </div> <% end %> <div class="table-responsive"> <table class="table table-hover"> <thead> <tr> <td>Título</td> <td>Data</td> <td>Local</td> <td>Criado em</td> </tr> </thead> <tbody> <% @albums.each do |album| %> <tr> <td><%= link_to album.title, edit_album_path(album) %></td> <td><%= I18n.l album.date %></td> <td><%= album.local %></td> <td><%= I18n.l album.created_at, format: :only_date %></td> </tr> <% end %> </tbody> </table> </div> </div> <div class="col-md-4 box"> <h4>Pesquisa</h4> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
web_admin-0.1.0 | app/views/web_admin/albums/index.html.erb |
web_admin-0.0.2 | app/views/web_admin/albums/index.html.erb |
web_admin-0.0.1 | app/views/web_admin/albums/index.html.erb |