Skip to content

Commit

Permalink
test: fix erblint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellberg committed Jun 6, 2024
1 parent 6c9addf commit e04cc7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions .erb-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ linters:
exclude:
- "app/views/dashboard/show.html.erb"
- "app/views/public/landing_page.html.erb"
- "**dummy**"
4 changes: 3 additions & 1 deletion gems/kiqr/app/views/kiqr/onboarding/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<h1>Onboarding</h1>
<h1><%= t(".title") %></h1>
<h2><%= t(".description") %></h2>

<%= render "kiqr/partials/forms/user", user: @user %>
9 changes: 2 additions & 7 deletions gems/kiqr/app/views/kiqr/partials/_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
<li><%= link_to "Dashboard", root_path %></li>
<% if user_signed_in? %>
<% if onboarded? && current_account.team? %>
<li>
Team:
<ul>
<li><%= link_to "Edit team profile", edit_account_path %></li>
<li><%= link_to "Edit team members", account_users_path %></li>
</ul>
</li>
<li><%= link_to "Team profile", edit_account_path %></li>
<li><%= link_to "Team members", account_users_path %></li>
<% end %>
<li><%= link_to "Settings", edit_settings_path %>
<li><%= link_to "Credentials", edit_user_registration_path %></li>
Expand Down

0 comments on commit e04cc7c

Please sign in to comment.