Sha256: cc76b92ea7f27748bcc0353815ca159825367950b8f8eeef12b8e09e4921fe57

Contents?: true

Size: 689 Bytes

Versions: 1

Compression:

Stored size: 689 Bytes

Contents

.row
  .column
    %h4 Features

    %table
      %thead
        %tr
          %th Name
          %th Description
          %th Slug
          %th State
          %th
          %th
          %th

      %tbody
        - @features.each do |feature|
          %tr
            %td= feature.name
            %td= feature.description
            %td= feature.slug
            %td= feature.state
            %td= link_to 'Show', feature
            %td= link_to 'Edit', edit_feature_path(feature)

            - if Plug.allow_delete
              %td= link_to 'Destroy', feature, method: :delete, data: { confirm: 'Are you sure?' }

    = link_to 'New Feature', new_feature_path, class: 'button'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
plug-0.1.9 app/views/plug/features/index.html.haml