%= render 'shared/turbo_modal', title: t('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| %>
    
      
        <%= f.label :name, t('name'), class: 'label' %>
        <%= f.text_field :name, required: true, class: 'base-input' %>
      
      
        <%= f.label :file, t('file'), class: 'label' %>
        <%= f.file_field :file, class: 'file-input file-input-bordered w-full', required: true %>
        
      
      
        <%= f.label :password, "#{t('password')} (#{t('optional')})", class: 'label' %>
        <%= f.password_field :password, class: 'base-input' %>
      
     
    
      <%= f.button button_title, class: 'base-button' %>
    
  <% end %>
<% end %>