<div class="container-fluid arv-project-list">
<% tree.each do |projectnode| %>
<% rowtype = projectnode[:object].class %>
<% next if rowtype != Group and !show_root_node %>
<div class="container-fluid arv-project-list">
<% tree.each do |projectnode| %>
<% rowtype = projectnode[:object].class %>
<% next if rowtype != Group and !show_root_node %>
<div class="col-md-4" style="padding-left: <%= projectnode[:depth] - (show_root_node ? 0 : 1) %>em;">
<% if show_root_node and rowtype == String %>
<div class="col-md-4" style="padding-left: <%= projectnode[:depth] - (show_root_node ? 0 : 1) %>em;">
<% if show_root_node and rowtype == String %>
<%= projectnode[:object] %>
<% elsif show_root_node and rowtype == User %>
<% if projectnode[:object].uuid == current_user.andand.uuid %>
<%= projectnode[:object] %>
<% elsif show_root_node and rowtype == User %>
<% if projectnode[:object].uuid == current_user.andand.uuid %>
- <% if not projectnode[:object].description.blank? %>
- <div class="col-md-8 small"><%= projectnode[:object].description %></div>
+ <% if projectnode[:object].respond_to?(:description) and not projectnode[:object].description.blank? %>
+ <div class="col-md-8 small"><%= render_attribute_as_textile(projectnode[:object], "description", projectnode[:object].description, true) %></div>