<%= form_for @model_data, url: model_create_path, method: :post do |f| %>
<% (@model_data.class.column_names - %w(id serialized_options created_at updated_at)).each do |data_field| %>
<% end %>
<%= f.submit 'Save Changes', class:"btn btn-primary" %>
<% end %>