osem-fcy/app/views/organizations/index.html.haml

17 lines
565 B
Text
Raw Normal View History

2017-05-31 18:42:52 +05:30
.container
.row
.col-md-12.page-header
%h1
Organizations
.btn-group.pull-right
2017-06-05 11:56:47 +05:30
/ = link_to 'Add new', new_organization_path, class: 'btn btn-mini btn-success'
2017-05-31 18:42:52 +05:30
- @organizations.each do |organization|
.col-md-4
.thumbnail
= image_tag(organization.picture.thumb.url, width: '20%')
.caption
%h4
= organization.name
%button.btn.btn-success Conferences
2017-06-05 11:56:47 +05:30
/ = link_to 'Edit', edit_organization_path(organization), class: 'btn btn-mini btn-default'