app/views/configurable_engine/configurables/show.html.erb in configurable_engine-2.0.1 vs app/views/configurable_engine/configurables/show.html.erb in configurable_engine-2.0.2
- old
+ new
@@ -1,12 +1,11 @@
<div class='configurable-container'>
-
<div class="header">
<h2>Config</h2>
</div>
<div class="configurable-options">
- <%= form_tag(configurable_path, :method => :put) do -%>
+ <%= form_tag({}, method: :put) do -%>
<%- @keys.each do |key| -%>
<%- options = Configurable.defaults[key] -%>
<div class="configurable">
<%= label_tag key, options[:name] %>
<%- if options[:type] == 'boolean' %>