Auditor/Organisation layouts
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
.main-header
|
||||
= 'Отчетность за 2026 год'
|
||||
@@ -0,0 +1,5 @@
|
||||
.nav-container
|
||||
a.link[href="/"]
|
||||
= 'Организации'
|
||||
a.link[href="/auditors/index"]
|
||||
= 'Аудиторы'
|
||||
@@ -2,9 +2,12 @@
|
||||
.header-title
|
||||
= "Аудиторы"
|
||||
.main-container
|
||||
.organisations-data
|
||||
- @auditors.each do |auditor|
|
||||
.organisation-data
|
||||
- @info_about_auditors[auditor].keys.each do |key|
|
||||
.organisation-elem
|
||||
= "#{key}: #{@info_about_auditors[auditor][key]}"
|
||||
- unless @info_about_auditors.any?
|
||||
= "Аудиторы не найдены"
|
||||
- else
|
||||
.informations-data.vh-50-height
|
||||
- @info_about_auditors.each do |auditor, params|
|
||||
.information-data
|
||||
- params.keys.each do |key|
|
||||
.information-elem
|
||||
= "#{key}: #{params[key]}"
|
||||
@@ -1 +0,0 @@
|
||||
=render 'error', error: @error
|
||||
@@ -16,4 +16,6 @@ html
|
||||
= javascript_importmap_tags
|
||||
= hotwire_livereload_tags if Rails.env.development?
|
||||
body
|
||||
= render 'header'
|
||||
= render 'navbar'
|
||||
= yield
|
||||
@@ -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]}"
|
||||
Reference in New Issue
Block a user