Auditor/Organisation layouts

This commit is contained in:
ARLakhin
2026-03-12 10:14:15 +03:00
parent 0dc0f10da7
commit e55ecb7d29
10 changed files with 122 additions and 51 deletions
+12 -6
View File
@@ -2,9 +2,15 @@
.header-title
= "Организации"
.main-container
.organisations-data
- @organisations.each do |organisation|
.organisation-data
- @info_about_organisation[organisation].keys.each do |key|
.organisation-elem
= "#{key}: #{@info_about_organisation[organisation][key]}"
.add-new
a.link[href="/reports"]
= "Добавить новую организацию"
- unless @info_about_organisations.any?
= 'Организации не найдены'
- else
.informations-data
- @info_about_organisations.each do |organisation, params|
.information-data
- params.keys.each do |key|
.information-elem
= "#{key}: #{params[key]}"