initial commit
This commit is contained in:
16
app/views/projects/index.html.erb
Normal file
16
app/views/projects/index.html.erb
Normal file
@@ -0,0 +1,16 @@
|
||||
<p style="color: green"><%= notice %></p>
|
||||
|
||||
<% content_for :title, "Projects" %>
|
||||
|
||||
<h1>Projects</h1>
|
||||
|
||||
<div id="projects">
|
||||
<% @projects.each do |project| %>
|
||||
<%= render project %>
|
||||
<p>
|
||||
<%= link_to "Show this project", project %>
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= link_to "New project", new_project_path %>
|
||||
Reference in New Issue
Block a user