Files
docuseal/app/views/templates_folders/edit.html.erb
T

13 lines
660 B
Plaintext
Raw Normal View History

2024-09-18 19:47:47 +03:00
<%= render 'shared/turbo_modal', title: t('move_into_folder') do %>
2023-09-22 02:20:38 +03:00
<%= form_for '', url: template_folder_path(@template), method: :put, data: { turbo_frame: :_top }, html: { autocomplete: :off } do |f| %>
<div class="form-control my-6">
<folder-autocomplete class="block" data-submit-on-select="true">
2024-09-18 19:47:47 +03:00
<%= f.text_field :name, required: true, placeholder: "#{t('new_folder_name')}...", class: 'base-input w-full', autofocus: true %>
2023-09-22 02:20:38 +03:00
</folder-autocomplete>
</div>
<div class="form-control">
2024-09-18 19:47:47 +03:00
<%= f.button button_title(title: t('move'), disabled_with: t('moving')), class: 'base-button' %>
2023-09-22 02:20:38 +03:00
</div>
<% end %>
<% end %>