added the last two models
This commit is contained in:
14
app/views/credentials/index.html.erb
Normal file
14
app/views/credentials/index.html.erb
Normal file
@@ -0,0 +1,14 @@
|
||||
<p style="color: green"><%= notice %></p>
|
||||
|
||||
<h1>Credentials</h1>
|
||||
|
||||
<div id="credentials">
|
||||
<% @credentials.each do |credential| %>
|
||||
<%= render credential %>
|
||||
<p>
|
||||
<%= link_to "Show this credential", credential %>
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<%= link_to "New credential", new_credential_path %>
|
||||
Reference in New Issue
Block a user