Sha256: b3f6e257f2f72efb8e07bf3c1c86ca8e56ad30d7a618dfd5a7b22dfc4a200593

Contents?: true

Size: 785 Bytes

Versions: 7

Compression:

Stored size: 785 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
          .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

7 entries across 7 versions & 1 rubygems

Version Path
faalis-2.0.4 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.0.3 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.0.1 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.0.0 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.0.0.rc6 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.0.0.rc5 app/views/faalis/dashboard/resource/show.html.slim
faalis-2.0.0.rc4 app/views/faalis/dashboard/resource/show.html.slim