forked from bofh/fetsite
Kalender überarbeitet Issue 91
This commit is contained in:
3
app/views/calendars/_calendar.html.erb
Normal file
3
app/views/calendars/_calendar.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<%= calendar calendar.calentries do |entry| %>
|
||||
<div><%= link_to entry.name.to_s, polymorphic_path(entry.object) %></div>
|
||||
<% end %>
|
||||
3
app/views/calendars/_calentries.html.erb
Normal file
3
app/views/calendars/_calentries.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<%= calendar object do |entry| %>
|
||||
<div><%= link_to entry.name.to_s, polymorphic_path(entry.object) %></div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user