Sha256: 3709166a87bacf2db87b639eef7413dcecf519ba0473561358de2cc9f76f48f2
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
<h2><%= t.send(@type_file).capitalize %> <a href="/<%= @type_file %>/new" class="btn btn-secondary btn-sm"><i class="fas fa-plus"></i> <%= t.new.capitalize %></a></h2> <div class="table-responsive"> <table class="table table-striped table-sm"> <tr> <th> <%= t.file.capitalize %> </th> <th> <%= t.edit.capitalize %> </th> <th> <%= t.delete.capitalize %> </th> </tr> <% @files.each do |f| %> <tr> <td> <%= f.gsub(File.join(Dir.pwd, ''),'') %> </td> <td> <a href="/<%= @type_file %>?file=<%= f %>" class="btn btn-default"><i class="fa fa-edit" title="<%= t.edit.capitalize %>"></i></a> </td> <td> <form method="post" action="/<%= @type_file %>/delete" class="inline form-confirm" data-confirm="<%= t.are_you_sure %>"> <input type="hidden" name="file" value="<%= f %>"> <button type="submit" class="btn btn-default"><i class="fa fa-trash" title="<%= t.delete.capitalize %>"></i></button> </form> </td> </tr> <% end %> </table> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hyde_admin-0.0.3 | bin/admin_views/posts/listing.erb |