CHANGE: pretty_toolbar für Fragen und Themen

This commit is contained in:
HausdorffHimself
2013-09-01 23:56:04 +02:00
parent 94925e34ba
commit 9c316f165c
8 changed files with 47 additions and 25 deletions

View File

@@ -10,7 +10,6 @@
</p>
<br/>
<% end %>
<%= link_to 'Edit', small %>
<% @small_elements = [{:icon=>:pencil, :hicon=>'icon-pencil', :text=>I18n.t('thema.edit'), :path=>small}]
@small_elements << {:hicon=>'icon-remove-circle',:text=>I18n.t('thema.remove'), :path=>small, :method=>:delete,:confirm=>I18n.t('thema.sure')}%>
<%= render :partial=>'layouts/pretty_toolbar', :object=>@small_elements %>