-
- New
- <%= content_type.name %>
-
-
- add
-
+ <% if current_user.can_create?(content_type) %>
+
+ <%# TODO: We really need to fix up the new document path so we don't have weird overrides like this %>
+ <%= link_to content_type == Document ? edit_document_path(:new) : new_polymorphic_path(content_type), class: 'white-text' do %>
+
+
+
+ New
+ <%= content_type.name %>
+
+
+ add
+
+
-
- <% end %>
-