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