<%= for {file_system, index} <- Enum.with_index(@file_systems) do %>
<.file_system_info file_system={file_system} />
<%= unless is_struct(file_system, FileSystem.Local) do %>
<%= live_patch "Detach",
to: Routes.settings_path(@socket, :detach_file_system, index),
class: "button-base button-outlined-red" %>
<% end %>