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