This commit is contained in:
Andreas Stephanides
2013-09-07 12:38:02 +02:00
2 changed files with 4 additions and 5 deletions

View File

@@ -23,10 +23,9 @@
</div>
</br>
<% unless @thema.id.nil? %>
<% @att_elements = [{:icon=>:plus, :hicon=>'icon-plus', :text=>I18n.t('attachment.add'), :path=>new_thema_attachment_path(@thema)}] %>
<%= render :partial=>'layouts/pretty_toolbar', :object=>@att_elements %>
<!--
<%= link_to 'Neues Attachment', new_thema_attachment_path(@thema) %>
-->
<% end %>
<br/>