isprambiente/medplan

View on GitHub
app/views/audits/index.html.haml

Summary

Maintainability
Test Coverage
= turbo_frame_tag "#{dom_id(@user)}_categories", class: 'rows', data: {controller: @view} do
  %h3.title.is-3 #{t('title', scope: 'risk')}
  %h4.subtitle.is-4 #{@user.label}
  %hr/
  .rows= render(partial: 'category', collection: @categories, as: :category, locals: {user: @user}) || t('not_found', scope: 'audit')