Toolbar und kopfzeileneinbindung
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
|
||||
<%= semantic_form_for @modul do |f| %>
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :modulgruppen,:as => :select, :collection => Hash[Modulgruppe.all.map{|m| [m.studium.name + " " + m.name,m.id]}] %>
|
||||
<% # f.input :modulgruppen,:as => :select, :collection => Hash[Modulgruppe.all.map{|m| [m.studium.name + " " + m.name,m.id]}] %>
|
||||
<%= f.input :modulgruppen %>
|
||||
<%= f.input :name ,:hint=>true%>
|
||||
<%= f.input :desc, :as=>:tinymce_text %>
|
||||
<%= f.input :depend %>
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
|
||||
<h1><%= I18n.t("modul.show.title") %></h1>
|
||||
<%= render 'layouts/link_all' %>
|
||||
<h1><%= I18n.t("modul.list") %></h1>
|
||||
|
||||
<%= render :partial=>'moduls/lang', :collection=>@moduls, :as=>:modul%>
|
||||
|
||||
<br />
|
||||
<% #if !@studium.nil? %>
|
||||
<%= link_to 'New Modul', new_modul_path() %>
|
||||
<% #end%>
|
||||
<br>
|
||||
<%= render 'layouts/pretty_toolbar'%>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user