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