This commit is contained in:
Andreas Stephanides
2013-03-03 23:00:50 +01:00
parent f8ad8f4527
commit 5bb60ec8d5
6 changed files with 8 additions and 4 deletions

View File

@@ -5,6 +5,6 @@
<%= raw(modul.desc) %>
</p>
<%= link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modul_path(modul) %>
<% link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modul_path(modul) %>
</div>

View File

@@ -11,5 +11,5 @@ LVAs:
<% end %>
</ul>
<%= link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modul_path(modul) %>
<% link_to '<i class="icon-pencil"></i>'.html_safe+I18n.t("common.edit"), edit_modul_path(modul) %>
</div>

View File

@@ -12,3 +12,5 @@
<%= link_to 'Add LVA', new_lva_path(:modul_id =>@modul.id) %>
<%= link_to '<i class="icon-pencil"></i>'.html_safe+ I18n.t("common.edit") , edit_modul_path(@modul) %>
<%= link_to "Loeschen", [@modul],:method=>:delete ,:data => {:confirm =>"Are you sure" } %>