Sha256: b028e322b9f152dfbdddcbb2c41bc86c609a490b74d544d790cc0359bdac64b4

Contents?: true

Size: 617 Bytes

Versions: 7

Compression:

Stored size: 617 Bytes

Contents

= link_to "New <%= singular.gsub('_',' ') %>", new_<%= path_helper_singular %>(<%= nested_arity_for_path %>), disable_with: "Loading...", remote: true, class: "new-<%= singular %>-button btn btn-primary pull-right"

.clearfix
.new-<%= singular %>-form{style: "display: none; position: relative;"}



%table.table.table-striped.<%= singular %>-table
  %thead
    %tr
<%= list_column_headings %>



  %tbody
    - if <%= plural %>.empty?
      None
    - <%= plural %>.each do |<%= singular %>|
      = render partial: '<%= line_path_partial %>', locals: {<%= singular %>: <%= singular %>, <%= nested_assignments %> }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
common_core_js-0.3.6 lib/generators/common_core/templates/_list.haml
common_core_js-0.3.5 lib/generators/common_core/templates/_list.haml
common_core_js-0.3.4 lib/generators/common_core/templates/_list.haml
common_core_js-0.3.3 lib/generators/common_core/templates/_list.haml
common_core_js-0.3.2 lib/generators/common_core/templates/_list.haml
common_core_js-0.3.1 lib/generators/common_core/templates/_list.haml
common_core_js-0.3.0 lib/generators/common_core/templates/_list.haml