5735: use data- for button text and button class custom attributes.
[arvados.git] / apps / workbench / app / views / projects / _show_description.html.erb
index 0ce2408e5c9b307c00605b0f63ba48ad6c04e993..dbd830b82831d337ffea3e95843f8a5f526c3bb3 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', 'data-mode' => 'inline', 'data-rows' => 10, btntext: 'Edit', btnclass: 'primary', btnplacement: :top } %>
+    <%= render_editable_attribute @object, 'description', nil, { 'data-emptytext' => "(No description provided)", 'data-toggle' => 'manual', 'data-mode' => 'inline', 'data-rows' => 10, 'data-btntext' => 'Edit', 'data-btnclass' => 'primary', btnplacement: :top } %>
   </div>
 <% end %>