rename to templates

This commit is contained in:
Alex Turchyn committed 2023-06-01 00:01:15 +03:00
1 parent 98fc9d964a
commit 4a303cb423
59 files changed
+248 -264

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
<%= render 'shared/turbo_modal', title: 'New Template' do %>
<%= form_for @template, data: { turbo_frame: :_top } do |f| %>
<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">
<%= f.button button_title('Create'), class: 'base-button' %>
</div>
<% end %>
<% end %>