forked from bofh/fetsite
mehrere Termine je neuigkeit
This commit is contained in:
@@ -21,13 +21,13 @@
|
||||
<%= f.input :picture, :as=> :file %>
|
||||
</div> </div>
|
||||
|
||||
<% unless @neuigkeit.calentry.nil? %>
|
||||
|
||||
|
||||
|
||||
<%= f.inputs :for => :calentry do |calentry| %>
|
||||
<%= f.semantic_fields_for :calentries , @calentries do |calentry| %>
|
||||
<%= render 'calentries/nested_fields', :f => calentry %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% end %>
|
||||
<%= f.actions do %>
|
||||
<%= f.action :submit, :as => :input %>
|
||||
|
||||
@@ -19,5 +19,7 @@
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
<%= render @neuigkeit.calentry unless @neuigkeit.calentry.nil? %>
|
||||
<% @calentries1.each do |ce|%>
|
||||
<%= render ce unless ce.nil? %>
|
||||
<% end %>
|
||||
<%= render 'layouts/pretty_toolbar', :object=> @toolbar_elements %>
|
||||
|
||||
Reference in New Issue
Block a user