Sha256: 1837119ae6e09ea7934d7e59e6792d911eced21ce1f6fbb237ff82089e83aa85

Contents?: true

Size: 738 Bytes

Versions: 2

Compression:

Stored size: 738 Bytes

Contents

.row
  .col-sm-12.col-lg-12
    .box.box-primary
      .box-header
        .box-title
          / TODO: add a DSL to provide a message for this section
      .box-body
        ul.resource.details.col-sm-12.col-lg-6.col-md-6
          - @_fields.keys.each_with_index do |name, index|
            li
              h5.header
                = t(name.to_s.titleize) + ':'
              h4.result
                = @resource.send(name.to_sym) || "-"


      .box-footer
          .row

            .col-sm-2.pull-right
              a.btn.btn-warning.btn-block href=(get_url(@index_route, @engine))
                i class=("fa fa-chevron-#{Faalis::I18n.direction(I18n.locale) == 'ltr' ? 'left' : 'right'}")
                = t('faalis.back')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faalis-2.0.0.rc3 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.0.0.rc2 app/views/faalis/dashboard/resource/show.html.slim