%unless flash[:dynamic_scaffold_danger].nil? -%>
<%= flash[:dynamic_scaffold_danger] %>
<%end%>
<%= form_with method: :patch, url: dynamic_scaffold_path(:sort) do%>
<%= link_to dynamic_scaffold_path(:new), class: 'btn btn-outline-primary btn-primary btn-sm' do%>
<%= dynamic_scaffold_icon(:add) %> <%= t('dynamic_scaffold.button.add') %>
<%end%>
<%= render 'dynamic_scaffold/bootstrap/pagination' %>
<%= render 'dynamic_scaffold/bootstrap/save_order'%>
<% if @records.empty? %>
<%= t('dynamic_scaffold.message.no_records', model: dynamic_scaffold.title.name) %>
<% else %>
<% end %>
<%= render 'dynamic_scaffold/bootstrap/save_order'%>
<%= render 'dynamic_scaffold/bootstrap/pagination' %>
<% end %>