akkounts/app/views/admin/settings/services/_remotestorage.html.erb
Garret Alfert 9b89101afc
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Basic RemoteStorage settings
2023-04-08 21:49:16 +02:00

18 lines
598 B
Plaintext

<h3>RemoteStorage</h3>
<ul role="list">
<%= render FormElements::FieldsetToggleComponent.new(
form: f,
attribute: :remotestorage_enabled,
enabled: Setting.remotestorage_enabled?,
title: "Enable RemoteStorage integration",
description: "RemoteStorage configuration present and features enabled"
) %>
<% if Setting.remotestorage_enabled? %>
<%= render FormElements::FieldsetComponent.new(title: "Storage URL") do %>
<%= f.text_field :rs_storage_url,
value: Setting.rs_storage_url,
class: "w-full", disabled: true %>
<% end %>
<% end %>
</ul>