Auditor/Organisation layouts
This commit is contained in:
@@ -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