2044: Sharing link now shown in "Sharing and permissions" panel, no longer uses
[arvados.git] / apps / workbench / app / views / collections / _toggle_persist.html.erb
index eaca3f48ca4747c57f17b7e50cc9e461f7d7e8ac..aa6ed81ee74e80681988e4542918b77181c2c71f 100644 (file)
@@ -1,8 +1,3 @@
-<div class="btn-group btn-group-xs toggle-persist fill" data-toggle="buttons" data-remote-href="<%= set_persistent_collection_path(id: uuid) %>" data-persistent-state="<%= current_state %>">
-  <label class="btn btn-info <%= 'active' if current_state=='persistent' %>">
-    <input type="radio" name="wants" value="persistent">Persistent
-  </label>
-  <label class="btn btn-info <%= 'active' if current_state=='cache' %>">
-    <input type="radio" name="wants" value="cache">Cache
-  </label>
+<div class="btn-group btn-group-xs toggle-persist" data-remote-href="<%= set_persistent_collection_path(id: uuid) %>" data-persistent-state="<%= current_state %>">
+  <button type="button" class="btn btn-info <%= 'active' if current_state == 'persistent' %>"><%= current_state.capitalize %></button>
 </div>