10218: Merge branch 'master' into 10218-record-node-info
[arvados.git] / apps / workbench / app / views / projects / _show_description.html.erb
index 726094074b1de7b810d4221353fda9e756ee12b0..443f359036a1776e655e32c36cd090c93870fd73 100644 (file)
@@ -1,5 +1,5 @@
 <% if @object.respond_to? :description %>
   <div class="arv-description-as-subtitle">
-    <%= render_editable_attribute @object, 'description', nil, { 'data-emptytext' => "(No description provided)", 'data-toggle' => 'manual' } %>
+    <%= render_editable_attribute @object, 'description', nil, { 'data-emptytext' => "(No description provided)", 'data-toggle' => 'manual', 'data-mode' => 'inline', 'data-rows' => 10 }, { btntext: 'Edit', btnclass: 'primary', btnplacement: :top } %>
   </div>
 <% end %>