<%= form_with method: method, model: @record, scope: dynamic_scaffold.model.name.underscore, url: url, local: true, class: 'ds-form' do |form| %> <%-dynamic_scaffold.form.items.each do |elem|-%> <%= render 'dynamic_scaffold/bootstrap/form/row', form: form, elem: elem, depth: 0 %> <% end %>
<%= link_to dynamic_scaffold_path(:index, request_queries), class: 'btn btn-outline-secondary btn-default back' do%> <%= dynamic_scaffold_icon :back %> <%= t('dynamic_scaffold.button.back') %> <%end%>
<% end %>