app/views/tramway/admin/singletons/_form.html.haml in tramway-admin-1.29.1.1 vs app/views/tramway/admin/singletons/_form.html.haml in tramway-admin-1.29.1.2

- old
+ new

@@ -8,8 +8,8 @@ = render 'tramway/core/shared/messages', object: @singleton_form .row .col-lg-12 = simple_form_for @singleton_form.model, url: { controller: :singletons, action: action, model: @singleton_form.model.class }, input_html: { class: 'form-horizontal' } do |f| - @singleton_form.properties.each do |property, type| - = render 'tramway/admin/shared/input', property: property, object: :singleton, type: type, form: f + = render 'tramway/core/shared/input', property: property, object: :singleton, type: type, form: f, destination: :admin, value: value_from_params(model_class: model_class, property: property, type: type) = f.button :submit, t('helpers.links.save'), class: 'btn-success' = link_to t('helpers.links.back'), singleton_path, class: 'btn btn-secondary'