Skip to content

Commit

Permalink
style: form for onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellberg committed Jun 3, 2024
1 parent c04ffee commit 7103a78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gems/kiqr/app/views/kiqr/settings/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
<% end %>

<%= fields_for :personal_account, user.personal_account do |pa| %>
<%= form.fields_for :personal_account, user.personal_account do |pa| %>
<div class="field">
<%= pa.label :name, t(".personal_account.name.label") %>
<%= pa.text_field :name, placeholder: t(".personal_account.name.placeholder") %>
Expand Down
2 changes: 2 additions & 0 deletions gems/kiqr/test/dummy/app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
</head>

<body>
<%= notice %>
<%= alert %>
<%= yield %>
</body>
</html>
4 changes: 1 addition & 3 deletions gems/kiqr/test/dummy/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7103a78

Please sign in to comment.