Toolbar einbindungen
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<h1>Editing studium</h1>
|
<h1><%= I18n.t("studien.edit")%></h1>
|
||||||
|
|
||||||
<%= render 'form' %>
|
<%= render 'form' %>
|
||||||
|
|
||||||
<%= link_to 'Show', @studium %> |
|
<%= link_to 'Show', @studium %> |
|
||||||
<%= link_to 'Back', studien_path %>
|
<%= link_to 'Back', studien_path %>
|
||||||
|
|||||||
@@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
|
|
||||||
<% @studien.sort_by{|z| z[:zahl]}.each do |studium| %>
|
<% @studien.sort_by{|z| z[:zahl]}.each do |studium| %>
|
||||||
<ul>
|
<ul>
|
||||||
<li><%= render studium%></li>
|
<li><%= render studium%></li>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<% link_to I18n.t("studien.new"), new_studium_path %>
|
<% link_to I18n.t("studien.new"), new_studium_path %>
|
||||||
<% link_to I18n.t("modulgruppe.show"), modulgruppen_path %>
|
<% link_to I18n.t("modulgruppe.show"), modulgruppen_path %>
|
||||||
<%= toolbar_html(@toolbar_elements) %>
|
<%= render :partial=>'layouts/pretty_toolbar'%>
|
||||||
|
<% #toolbar_html(@toolbar_elements) %>
|
||||||
|
|||||||
@@ -13,3 +13,5 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<%= render :partial=>'layouts/pretty_toolbar' %>
|
||||||
|
|||||||
@@ -16,14 +16,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<%= render :partial=>'layouts/pretty_toolbar' %>
|
||||||
<div class="row-fluid">
|
|
||||||
<span class="span12">
|
|
||||||
<%= link_to '<i class="icon-plus-sign"></i>'.html_safe+I18n.t("studien.newmodulgroup"), new_studium_modulgruppe_path(:studium_id=>@studium.id),:class=>"btn" %> |
|
|
||||||
<%= link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_studium_path(@studium) ,:class=>"btn"%>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<%= toolbar_html(@toolbar_elements) %>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user