1 <% if @object.respond_to? :name %>
3 <%= render_editable_attribute @object, 'name', nil, { 'data-emptytext' => "New #{controller.model_class.to_s.underscore.gsub("_"," ")}" } %>
7 <% if @object.respond_to? :description %>
8 <div class="arv-description-as-subtitle">
9 <%= render_editable_attribute @object, 'description', nil, { 'data-emptytext' => "(No description provided)", 'data-toggle' => 'manual' } %>