Sha256: deece2990f2b70fe387461beed907e2cb797c443b7d03f52929745ccefdd9a6e

Contents?: true

Size: 1.18 KB

Versions: 16

Compression:

Stored size: 1.18 KB

Contents

.d-none *{id: 'new-' + @gradable_resource + '-grading-method-connector'}

.d-none *{id: "new-set-#{@gradable_resource}-grading-method-connector"}

= index_header do
  .pull-left
    = count_div "#{@gradable_resource}-grading-method-connectors-count" do
      = print_count @gradable.grading_methods.count, t(:'grading_method.list')
  .pull-right
    = ajax_link_to_new t(:'grading_method_set.add'), [:new_set, @gradable, :grading_method_connectors], {id: 'new-set-' + @gradable_resource + '-grading-method-connector-link', class: 'btn btn-primary'}

    = ajax_link_to_new t(:'grading_method.add'), [:new, @gradable, :grading_method_connector], {id: 'new-' + @gradable_resource + '-grading-method-connector-link', class: 'btn btn-primary'}

= index_body do
  = table_for "#{@gradable_resource}-grading-method-connectors-index" do
    thead
      tr
        = th t(:'order')
        = th t(:'grading_method.name')
        = th t(:'grading_method.method')
        = th_actions 3
    = sortable_tbody [:sort, @gradable, :grading_method_connectors] do
      = render partial: 'gaku/grading_method_connectors/grading_method_connector', collection: @gradable.grading_method_connectors, as: :grading_method_connector

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
gaku_frontend-0.3.0 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.3.0.pre.4 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.3.0.pre.3 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.3.0.pre.2 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.3.0.pre.1 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.3.0.pre.0 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku-0.2.4 frontend/app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.2.4 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku-0.2.3 frontend/app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.2.3 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku-0.2.2 frontend/app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.2.2 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku-0.2.1 frontend/app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.2.1 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku-0.2.0 frontend/app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim
gaku_frontend-0.2.0 app/views/gaku/grading_method_connectors/_grading_method_connectors.html.slim