mirror of https://github.com/docusealco/docuseal
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.
18 lines
647 B
18 lines
647 B
<%= f.fields_for :value do |ff| %>
|
|
<%= ff.hidden_field :service, value: 'google' %>
|
|
<%= ff.fields_for :configs, configs do |fff| %>
|
|
<div>
|
|
<%= fff.label :project, 'Project' %>
|
|
<%= fff.text_field :project, value: configs['project'], required: true %>
|
|
</div>
|
|
<div>
|
|
<%= fff.label :bucket %>
|
|
<%= fff.text_field :bucket, value: value['service'] == 'google' ? configs['bucket'] : '', required: true %>
|
|
</div>
|
|
<div>
|
|
<%= fff.label :credentials, 'Credentials (JSON key content)' %>
|
|
<%= fff.text_area :credentials, value: configs['credentials'], required: true %>
|
|
</div>
|
|
<% end %>
|
|
<% end %>
|