Sha256: 450bbef88bce32aa174302a1e6faa64815da62ed82f850898dc759f5e77d4080

Contents?: true

Size: 1.33 KB

Versions: 6

Compression:

Stored size: 1.33 KB

Contents

.box.box-info
  .box-header.with-border

    %h3.box-title
      = @page_title
    .label-warning
      = flash[:notice]
    .box-tools.pull-right
      %button.btn.btn-box-tool{"data-widget" => "collapse", :type => "button"}
        %i.fa.fa-minus
      %button.btn.btn-box-tool{"data-widget" => "remove", :type => "button"}
        %i.fa.fa-times
  / /.box-header
  .box-body
    .table-responsive
      %table.table.no-margin
        %thead
          %tr
            %th Title
            %th Description
            %th Created
            %th Updated
            %th Delete
            %th Edit  
          - report.each do |article|
            %tr
              %td= link_to article.title, :controller=>"articles", :action=>"show", :article_id => article.id
              %td= article.text.html_safe
              %td= article.created_at.strftime('%m/%d/%Y')
              %td= article.updated_at.strftime('%m/%d/%Y')
              %td(align='center')= link_to image_tag('delete.png', style:'border:none; float:none;'), {controller: "articles", action: "destroy",  article_id: article.id}, data: { confirm: "Please Confirm" }
              %td(align='center')= link_to image_tag('pencil.png', style:'border:none; float:none;'), {controller: "jinda", action: "init", s: 'articles:xedit_article', article_id: article.id}, data: { confirm: "Please Confirm" }

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jinda-0.7.2 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.1 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.0.4 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.0.3 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.0.2 lib/generators/jinda/templates/app/views/articles/_report.haml
jinda-0.7.0.1 lib/generators/jinda/templates/app/views/articles/_report.haml