Skip to content

Commit 7103a78

Browse files
committed
style: form for onboarding
1 parent c04ffee commit 7103a78

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gems/kiqr/app/views/kiqr/settings/_form.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</div>
1111
<% end %>
1212

13-
<%= fields_for :personal_account, user.personal_account do |pa| %>
13+
<%= form.fields_for :personal_account, user.personal_account do |pa| %>
1414
<div class="field">
1515
<%= pa.label :name, t(".personal_account.name.label") %>
1616
<%= pa.text_field :name, placeholder: t(".personal_account.name.placeholder") %>

gems/kiqr/test/dummy/app/views/layouts/application.html.erb

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
</head>
1111

1212
<body>
13+
<%= notice %>
14+
<%= alert %>
1315
<%= yield %>
1416
</body>
1517
</html>

gems/kiqr/test/dummy/config/application.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
module Dummy
1010
class Application < Rails::Application
1111
config.load_defaults Rails::VERSION::STRING.to_f
12-
13-
# For compatibility with applications that use this config
14-
config.action_controller.include_all_helpers = false
12+
config.action_controller.include_all_helpers = true
1513

1614
# Please, add to the `ignore` list any other `lib` subdirectories that do
1715
# not contain `.rb` files, or that should not be reloaded or eager loaded.

0 commit comments

Comments
 (0)