Skip to content

Commit

Permalink
Closes #10: Added create new category button.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandeutsch committed Dec 3, 2009
1 parent c2ff35d commit b20e4db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/vrame/categories/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
<div class="functions">
<% if @active_category %>
<%= link_to 'Neues Dokument', new_vrame_category_document_path(@active_category), :class => 'button', :id => 'active-category-new-document' %>
<%= link_to 'Neue Kategorie', new_vrame_category_path, :class => 'button', :id => 'new-category' %>
<%= link_to 'Neue Unterkategorie', new_vrame_category_category_path(@active_category), :class => 'button', :id => 'active-category-new-category' %>
<%= link_to 'Kategorie editieren', edit_vrame_category_path(@active_category), :class => 'button', :id => 'active-category-edit' %>
<% else%>
<%= link_to 'Neue Kategorie', new_vrame_category_path, :class => 'button', :id => 'new-category' %>
<%= link_to 'Neue Kategorie', new_vrame_category_path, :class => 'button', :id => 'new-category' %>
<% end %>
</div>

Expand Down

0 comments on commit b20e4db

Please sign in to comment.