Files
docuseal/app/views/templates/new.html.erb
T

14 lines
551 B
Plaintext
Raw Normal View History

2023-05-31 23:19:20 +03:00
<%= render 'shared/turbo_modal', title: 'New Template' do %>
<%= form_for @template, data: { turbo_frame: :_top } do |f| %>
2023-06-18 16:26:51 +00:00
<% if @base_template %>
<%= hidden_field_tag :base_template_id, @base_template.id %>
<% end %>
2023-05-31 23:19:20 +03:00
<div class="form-control my-6">
<%= f.text_field :name, required: true, placeholder: 'Template Name', class: 'base-input' %>
</div>
<div class="form-control mt-4">
2023-06-11 12:42:13 +00:00
<%= f.button button_title(title: 'Create', disabled_with: 'Creating'), class: 'base-button' %>
2023-05-31 23:19:20 +03:00
</div>
<% end %>
<% end %>