add modal style

This commit is contained in:
Alex Turchyn
2023-05-29 23:08:55 +03:00
parent b8bae6d0e4
commit 81f376cf50
3 changed files with 24 additions and 12 deletions
+7 -5
View File
@@ -1,9 +1,11 @@
<%= render 'shared/turbo_modal' do %>
<%= render 'shared/turbo_modal', title: 'New Flow' do %>
<%= form_for @flow, data: { turbo_frame: :_top } do |f| %>
<div>
<%= f.label :name %>
<%= f.text_field :name, required: true %>
<div class="form-control">
<%= f.label :name, 'Flow name', class: 'label' %>
<%= f.text_field :name, required: true, class: 'base-input' %>
</div>
<div class="form-control mt-4">
<%= f.button button_title('Create'), class: 'base-button' %>
</div>
<%= f.button button_title %>
<% end %>
<% end %>