Storage
    
      Select files storage option (TODO)
    
    <% value = @encrypted_config.value || { 'service' => 'disk' } %>
    <% configs = value['configs'] || {} %>
    <%= form_for @encrypted_config, url: settings_storage_index_path, method: :post, html: { autocomplete: 'off', class: 'w-full' } do |f| %>
      <% options = [['Disk', 'disk'], ['AWS S3', 'aws_s3'], ['Google Cloud', 'google']] %>
      
        
          <% [['Disk', 'disk'], ['AWS S3', 'aws_s3'], ['Google Cloud', 'google']].each do |(label, val)| %>
            <%= f.label :selected, value: val, class: 'w-full flex flex-1 items-center space-x-2 btn btn-outline rounded-xl' do %>
              <%= f.radio_button :selected, val, checked: value['service'] == val, data: { action: 'change:toggle-visible#trigger' }, class: 'base-radio' %>
              <%= label %>
            <% end %>
          <% end %>
        
      
      
        <%= render "disk_form", f: f %>
      
      
        <%= render "aws_form", f: f, configs: configs, value: value %>
      
      
        <%= render "google_cloud", f: f, configs: configs, value: value %>
      
      
        <%= f.button button_title('OK'), class: 'base-button' %>
      
    <% end %>