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.
		
		
		
		
		
			
		
			
				
					
					
						
							59 lines
						
					
					
						
							2.7 KiB
						
					
					
				
			
		
		
	
	
							59 lines
						
					
					
						
							2.7 KiB
						
					
					
				<div class="flex flex-wrap space-y-4 md:flex-nowrap md:space-y-0">
 | 
						|
  <%= render 'shared/settings_nav' %>
 | 
						|
  <div class="flex-grow max-w-xl mx-auto">
 | 
						|
    <h1 class="text-4xl font-bold mb-4">Profile</h1>
 | 
						|
    <p>
 | 
						|
      Manage your contact information
 | 
						|
    </p>
 | 
						|
    <%= form_for current_user, url: update_contact_settings_profile_index_path, method: :patch, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
 | 
						|
      <div class="grid md:grid-cols-2 gap-4">
 | 
						|
        <div class="form-control">
 | 
						|
          <%= f.label :first_name, class: 'label' %>
 | 
						|
          <%= f.text_field :first_name, required: true, class: 'base-input' %>
 | 
						|
        </div>
 | 
						|
        <div class="form-control">
 | 
						|
          <%= f.label :last_name, class: 'label' %>
 | 
						|
          <%= f.text_field :last_name, required: true, class: 'base-input' %>
 | 
						|
        </div>
 | 
						|
      </div>
 | 
						|
      <div class="form-control">
 | 
						|
        <%= f.label :email, 'Email', class: 'label' %>
 | 
						|
        <%= f.email_field :email, autocomplete: 'off', class: 'base-input' %>
 | 
						|
      </div>
 | 
						|
      <%= f.fields_for :account do |ff| %>
 | 
						|
        <div class="form-control">
 | 
						|
          <%= ff.label :name, 'Company Name', class: 'label' %>
 | 
						|
          <%= ff.text_field :name, required: true, class: 'base-input' %>
 | 
						|
        </div>
 | 
						|
      <% end %>
 | 
						|
      <div class="form-control">
 | 
						|
        <%= f.button button_title(title: 'Update', disabled_with: 'Updating'), class: 'base-button' %>
 | 
						|
      </div>
 | 
						|
    <% end %>
 | 
						|
    <h2 class="text-2xl font-bold mt-8 mb-4">Change Password</h2>
 | 
						|
    <%= form_for current_user, url: update_password_settings_profile_index_path, method: :patch, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
 | 
						|
      <div class="form-control">
 | 
						|
        <%= f.label :password, 'New password', class: 'label' %>
 | 
						|
        <%= f.password_field :password, autocomplete: 'off', class: 'base-input' %>
 | 
						|
      </div>
 | 
						|
      <div class="form-control">
 | 
						|
        <%= f.label :password_confirmation, 'Confirm new password', class: 'label' %>
 | 
						|
        <%= f.password_field :password_confirmation, autocomplete: 'off', class: 'base-input' %>
 | 
						|
      </div>
 | 
						|
      <div class="form-control">
 | 
						|
        <%= f.button button_title(title: 'Update', disabled_with: 'Updating'), class: 'base-button' %>
 | 
						|
      </div>
 | 
						|
    <% end %>
 | 
						|
    <h2 class="text-2xl font-bold mt-8 mb-4">App URL</h2>
 | 
						|
    <%= form_for @encrypted_config, url: update_app_url_settings_profile_index_path, method: :patch, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %>
 | 
						|
      <div class="form-control">
 | 
						|
        <%= f.text_field :value, required: true, class: 'base-input' %>
 | 
						|
      </div>
 | 
						|
      <div class="form-control">
 | 
						|
        <%= f.button button_title(title: 'Update', disabled_with: 'Updating'), class: 'base-button' %>
 | 
						|
      </div>
 | 
						|
    <% end %>
 | 
						|
  </div>
 | 
						|
  <div class="w-0 md:w-52"></div>
 | 
						|
</div>
 |