2 class: 'btn btn-xs btn-info',
6 <% if @search_sharing.nil? %>
7 <p>Your API token is not authorized to manage collection sharing links.</p>
8 <% elsif @search_sharing.empty? %>
9 <%= button_to("Create sharing link", {action: "share"}, button_attrs) %>
12 <% button_attrs[:class] += " pull-right" %>
13 <%= button_to("Unshare", {action: "unshare"}, button_attrs) %>
15 <div class="smaller-text" style="clear: both; word-break: break-all"><%= link_to download_link, download_link %></div>