Sha256: a4610d14a0af8d29cdcaa0a69f395e24490925c6a122d1336a23d2062222da19

Contents?: true

Size: 802 Bytes

Versions: 5

Compression:

Stored size: 802 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.each_with_index do |name, index|
            li
              h5.header
                = t("#{@resource.class.name.underscore}.show.#{name.to_s.underscore}") + ':'
              h4.result
                = @resource.send(name.to_sym).to_s || "-"


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
faalis-2.2.0.pre.rc1 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.2.1 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.2.0 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.1.1 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.1.0 app/views/faalis/dashboard/resource/show.html.slim