Sha256: 9ade5e21fe50fca4b40d41980e77f9519473388edd4eddf7ae4983736c3ce772
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
<div class="container"> <div class="newpost"> <strong>create a new feedback</strong> <%=link_to 'new', new_feedback_path,:class=>'btn btn-warning' %> </div> <div class="feedbacklist"> <table class="table table-striped table-hover"> <thead> <tr> <th>sl.no</th> <th>Name</th> <th>Email</th> <th>Subject</th> <th>Feedback</th> <th>Actions</th> </tr> </thead> <tbody> <%= @feedbacks.each do |feedback| %> <tr> <td class="feedback-list"> <%= feedback.id %> </td> <td> <strong><%= feedback.name %></strong> </td> <td> <%= feedback.email %> </td> <td> <strong><%= feedback.subject %></strong> </td> <td> <%= feedback.description %> </td> <td> <%= link_to 'Show', feedback_path(feedback),:class=>"btn btn-info" %> <%= link_to 'Edit', edit_feedback_path(feedback),:class=>"btn btn-success" %> <%= link_to 'Delete', feedback_path(feedback),method: :delete, data:{confirm: 'Are you sure?'},:class=>'btn btn-danger' %> </td> </tr> <% end %> </tbody> </table> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
feedback_gem-0.1.1 | app/views/feedback_gem/feedbacks/index.html.erb |