Issue #93 fixed
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<%= semantic_form_for @gremium do |f| %>
|
<%= semantic_form_for @gremium do |f| %>
|
||||||
<%= f.inputs do %>
|
<%= f.inputs do %>
|
||||||
<%= f.input :name %>
|
<%= f.input :name %>
|
||||||
<%= f.input :desc %>
|
<%= f.input :desc, :as=>:tinymce_text %>
|
||||||
<%= f.input :typ, :as => :select, :collection => Gremium::TYPEN.invert %>
|
<%= f.input :typ, :as => :select, :collection => Gremium::TYPEN.invert %>
|
||||||
<%= f.input :geschlecht, :as => :select, :collection => Gremium::GESCHLECHT.invert %>
|
<%= f.input :geschlecht, :as => :select, :collection => Gremium::GESCHLECHT.invert %>
|
||||||
<%= f.input :thema, :as=> :select, :collection => Thema.all %>
|
<%= f.input :thema, :as=> :select, :collection => Thema.all %>
|
||||||
@@ -41,3 +41,5 @@
|
|||||||
<%= f.action :submit, :as => :input %>
|
<%= f.action :submit, :as => :input %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<script>$('.datepicker').datepicker()</script>
|
||||||
|
<%= tinymce %>
|
||||||
|
|||||||
@@ -9,8 +9,11 @@
|
|||||||
<p>
|
<p>
|
||||||
<%= @gremium.desc %>
|
<%= @gremium.desc %>
|
||||||
</p>
|
</p>
|
||||||
|
<% unless @gremium.thema.nil? %>
|
||||||
|
<p><%= link_to "Mehr zum Gremium lesen ..." ,themengruppe_path(@gremium.thema.themengruppe , {:thema=>@gremium.thema.id})%></p>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% @gremium.memberships.order(:typ).active.each_slice(4) do |r| %>
|
<% @gremium.memberships.order(:typ).active.each_slice(4) do |r| %>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<% r.each do |m| %>
|
<% r.each do |m| %>
|
||||||
|
|||||||
@@ -12,9 +12,15 @@
|
|||||||
<%= thema.title %>
|
<%= thema.title %>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="collapse<%=thema.id%>" class="accordion-body collapse">
|
<div id="collapse<%=thema.id%>" class="accordion-body<%= 'collapse' unless params['thema']==thema.id %>">
|
||||||
<div class="accordion-inner">
|
<div class="accordion-inner">
|
||||||
<%= render :partial => 'themen/small', :object => thema %>
|
<% unless thema.gremium.nil? %>
|
||||||
|
<p><%= link_to "Zu dem Gremium ..." , thema.gremium %>
|
||||||
|
</p>
|
||||||
|
<% end %>
|
||||||
|
<%= render :partial => 'themen/small', :object => thema %>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user