2018-01-05 18:17:28 +00:00
|
|
|
- illustration = local_assigns.fetch(:illustration)
|
|
|
|
- illustration_size = local_assigns.fetch(:illustration_size)
|
|
|
|
- title = local_assigns.fetch(:title)
|
2018-03-08 17:33:06 +00:00
|
|
|
- content = local_assigns.fetch(:content, nil)
|
2018-01-06 10:59:35 +00:00
|
|
|
- action = local_assigns.fetch(:action, nil)
|
2018-01-05 16:18:01 +00:00
|
|
|
|
|
|
|
.row.empty-state
|
|
|
|
.col-xs-12
|
|
|
|
.svg-content{ class: illustration_size }
|
|
|
|
= image_tag illustration
|
|
|
|
.col-xs-12
|
|
|
|
.text-content
|
|
|
|
%h4.text-center= title
|
2018-03-08 17:33:06 +00:00
|
|
|
- if content
|
|
|
|
%p= content
|
2018-01-05 18:17:28 +00:00
|
|
|
- if action
|
2018-01-05 16:18:01 +00:00
|
|
|
.text-center
|
|
|
|
= action
|