first commit
This commit is contained in:
14
app/views/suggestions/index.html.erb
Normal file
14
app/views/suggestions/index.html.erb
Normal file
@@ -0,0 +1,14 @@
|
||||
<p style="color: green"><%= notice %></p>
|
||||
|
||||
<h1>Suggestions</h1>
|
||||
|
||||
<div id="suggestions">
|
||||
<% @suggestions.each do |suggestion| %>
|
||||
<%= render suggestion %>
|
||||
<p>
|
||||
<%= link_to "Show this suggestion", suggestion %>
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= link_to "New suggestion", new_suggestion_path %>
|
||||
Reference in New Issue
Block a user