add settings navbar

This commit is contained in:
Alex Turchyn
2023-05-30 00:55:14 +03:00
parent 1435d55727
commit 45adee6ddf
9 changed files with 219 additions and 139 deletions
+17 -10
View File
@@ -1,10 +1,17 @@
<%= form_for '', url: settings_esign_index_path, method: :post do |f| %>
<file-dropzone data-name="verify_attachments">
<label for="file">
<input id="attachment_uuid" name="attachment_uuid" class="hidden" data-target="file-dropzone.valueField" type="text">
<input id="file" class="hidden" data-action="change:file-dropzone#onSelectFiles" data-target="file-dropzone.input" type="file">
LCick to upload
</label>
</file-dropzone>
<%= f.button button_title %>
<% end %>
<div class="max-w-6xl mx-auto">
<div class="flex space-x-8">
<%= render 'shared/settings_nav' %>
<div class="mt-4">
<%= form_for '', url: settings_esign_index_path, method: :post do |f| %>
<file-dropzone data-name="verify_attachments">
<label for="file">
<input id="attachment_uuid" name="attachment_uuid" class="hidden" data-target="file-dropzone.valueField" type="text">
<input id="file" class="hidden" data-action="change:file-dropzone#onSelectFiles" data-target="file-dropzone.input" type="file">
LCick to upload
</label>
</file-dropzone>
<%= f.button button_title %>
<% end %>
</div>
</div>
</div>