clarion/app/views/management/home/index.html.slim
Andrew Radev c6750d3a1a Nest everything under /conferences/:id/ again
Would be more straightforward to work with, even if it's a bit more
verbose sometimes.
2015-07-19 11:46:47 +03:00

15 lines
648 B
Plaintext

.row
.col-lg-12.text-center
.btn-group-vertical
.btn-group
= link_to '#', class: 'btn btn-lg btn-primary dropdown-toggle', data: {toggle: 'dropdown'}
=> icon 'users', class: 'fa-fw'
span = Conference.model_name.human(count: 2).mb_chars.capitalize
span.caret<
ul.dropdown-menu role="menu"
- Conference.all.each do |conference|
li= link_to conference.title, [:management, conference]
= link_to new_management_conference_path, class: 'btn btn-lg btn-primary'
=> icon 'plus', t('actions.create.button', model: Conference.model_name.human), class: 'fa-fw'