Active Fields

<%= form_with url: new_active_field_path, method: :get do |f| %> <%= f.select :type, ActiveFields.config.type_names %> <%= f.submit "New" %> <% end %>
<% @active_fields.each do |active_field| %> <% end %>
ID Type Customizable type Name Options Default value
<%= link_to "Edit", edit_active_field_path(active_field) %> <%= link_to "##{active_field.id}", active_field_path(active_field) %> <%= active_field.type_name %> <%= active_field.customizable_type %> <%= active_field.name %> <%= active_field.options %> <%= active_field.default_value.inspect %> <%= button_to "Destroy", active_field_path(active_field), method: :delete %>