mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 23:42:32 -05:00
add the ability to clone a template
This commit is contained in:
1 parent
02fee9f885
commit
866bf7291d
6 files changed
+77
-5
No files matched your search
@@ -1,5 +1,8 @@
|
||||
<%= render 'shared/turbo_modal', title: 'New Template' do %>
|
||||
<%= form_for @template, data: { turbo_frame: :_top } do |f| %>
|
||||
<% if @base_template %>
|
||||
<%= hidden_field_tag :base_template_id, @base_template.id %>
|
||||
<% end %>
|
||||
<div class="form-control my-6">
|
||||
<%= f.text_field :name, required: true, placeholder: 'Template Name', class: 'base-input' %>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user