You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/app/views/storage_settings/_azure_form.html.erb

20 lines
930 B

<%= f.fields_for :value do |ff| %>
<%= ff.hidden_field :service, value: 'azure' %>
<%= ff.fields_for :configs, configs do |fff| %>
<div class="grid md:grid-cols-2 gap-4">
<div class="form-control">
<%= fff.label :storage_account_name, 'Storage Account Name', class: 'label' %>
<%= fff.text_field :storage_account_name, value: configs['storage_account_name'], required: true, class: 'base-input' %>
</div>
<div class="form-control">
<%= fff.label :container, class: 'label' %>
<%= fff.text_field :container, value: configs['container'], required: true , class: 'base-input' %>
</div>
</div>
<div class="form-control">
<%= fff.label :storage_access_key, 'Storage Access Key', class: 'label' %>
<%= fff.text_field :storage_access_key, value: configs['storage_access_key'], required: true, class: 'base-textarea' %>
</div>
<% end %>
<% end %>