app/views/headmin/forms/_url.html.erb in headmin-0.5.1 vs app/views/headmin/forms/_url.html.erb in headmin-0.5.2

- old
+ new

@@ -22,22 +22,22 @@ # https://apidock.com/rails/ActionView/Helpers/FormHelper/url_field # # ==== Examples # Basic version # <%= form_with do |form| %#> - # <%= render "headmin/forms/url", form: form, attribute: :website_url %#> + # <%= render 'headmin/forms/url', form: form, attribute: :website_url %#> # <% end %#> url = Headmin::Form::UrlView.new(local_assigns) %> -<%= render "headmin/forms/wrapper", url.wrapper_options do %> - <%= render "headmin/forms/label", url.label_options if url.prepend_label? %> - <%= render "headmin/forms/input_group", url.input_group_options do %> +<%= render 'headmin/forms/wrapper', url.wrapper_options do %> + <%= render 'headmin/forms/label', url.label_options if url.prepend_label? %> + <%= render 'headmin/forms/input_group', url.input_group_options do %> <%= form.url_field(url.attribute, url.input_options) %> - <%= render "headmin/forms/datalist", url.datalist_options if url.datalist? %> - <%= render "headmin/forms/autocomplete", url.autocomplete_options if url.autocomplete? %> + <%= render 'headmin/forms/datalist', url.datalist_options if url.datalist? %> + <%= render 'headmin/forms/autocomplete', url.autocomplete_options if url.autocomplete? %> <% end %> - <%= render "headmin/forms/validation", url.validation_options if url.validate? %> - <%= render "headmin/forms/hint", url.hint_options if url.hint? %> - <%= render "headmin/forms/label", url.label_options if url.append_label? %> + <%= render 'headmin/forms/validation', url.validation_options if url.validate? %> + <%= render 'headmin/forms/hint', url.hint_options if url.hint? %> + <%= render 'headmin/forms/label', url.label_options if url.append_label? %> <% end %>