diff --git a/gems/kiqr/app/views/kiqr/settings/_form.html.erb b/gems/kiqr/app/views/kiqr/settings/_form.html.erb index d48589b..7f22d31 100644 --- a/gems/kiqr/app/views/kiqr/settings/_form.html.erb +++ b/gems/kiqr/app/views/kiqr/settings/_form.html.erb @@ -10,7 +10,7 @@ <% end %> - <%= fields_for :personal_account, user.personal_account do |pa| %> + <%= form.fields_for :personal_account, user.personal_account do |pa| %>
<%= pa.label :name, t(".personal_account.name.label") %> <%= pa.text_field :name, placeholder: t(".personal_account.name.placeholder") %> diff --git a/gems/kiqr/test/dummy/app/views/layouts/application.html.erb b/gems/kiqr/test/dummy/app/views/layouts/application.html.erb index f7d08b4..3ca199a 100644 --- a/gems/kiqr/test/dummy/app/views/layouts/application.html.erb +++ b/gems/kiqr/test/dummy/app/views/layouts/application.html.erb @@ -10,6 +10,8 @@ + <%= notice %> + <%= alert %> <%= yield %> diff --git a/gems/kiqr/test/dummy/config/application.rb b/gems/kiqr/test/dummy/config/application.rb index 6e61f6b..dcb4cbb 100644 --- a/gems/kiqr/test/dummy/config/application.rb +++ b/gems/kiqr/test/dummy/config/application.rb @@ -9,9 +9,7 @@ module Dummy class Application < Rails::Application config.load_defaults Rails::VERSION::STRING.to_f - - # For compatibility with applications that use this config - config.action_controller.include_all_helpers = false + config.action_controller.include_all_helpers = true # Please, add to the `ignore` list any other `lib` subdirectories that do # not contain `.rb` files, or that should not be reloaded or eager loaded.