add ability to use own signing cert
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<%= render 'shared/turbo_modal', title: 'Upload Certificate' do %>
|
||||
<%= form_for @cert_record, url: settings_esign_path, html: { class: 'space-y-4', enctype: 'multipart/form-data' }, data: { turbo_frame: :_top } do |f| %>
|
||||
<div class="space-y-2">
|
||||
<div class="form-control">
|
||||
<%= f.label :name, class: 'label' %>
|
||||
<%= f.text_field :name, required: true, class: 'base-input' %>
|
||||
</div>
|
||||
<div class="form-control">
|
||||
<%= f.label :file, class: 'label' %>
|
||||
<%= f.file_field :file, required: true %>
|
||||
<label class="label">
|
||||
<span class="label-text-alt">Use a valid .der, .p12 or .pfx file.</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-control">
|
||||
<%= f.label :password, 'Password (optional)', class: 'label' %>
|
||||
<%= f.text_field :password, class: 'base-input' %>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-control pt-2">
|
||||
<%= f.button button_title, class: 'base-button' %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user