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