Sha256: e59618d4ececbc7d165ccba2ce8bbb8276181f55436dcf937fe47f6c95b4acdb
Contents?: true
Size: 1.14 KB
Versions: 2
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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
feedback_gem-0.2.0 | app/views/feedback_gem/feedbacks/index.html.erb |
feedback_gem-0.1.2 | app/views/feedback_gem/feedbacks/index.html.erb |