Sha256: e7d7b4110c1d070f04b5295438efc8d05599f43ad0fcaf65634ace3ffe2ad19e

Contents?: true

Size: 468 Bytes

Versions: 44

Compression:

Stored size: 468 Bytes

Contents

.btn-group.add-button.dropdown
  %button.btn.btn-primary.btn-shadow.dropdown-toggle{ type: 'button', data: { toggle: 'dropdown' }, aria: { haspopup: true, expanded: false }}
    = t('para.shared.add')
    %i.fa.fa-angle-down

  %ul.dropdown-menu
    - component.subclass_names.each do |subclass|
      %li
        = link_to component.relation_path(model.model_name.singular_route_key, action: :new, type: subclass) do
          = subclass.constantize.model_name.human

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
para-0.11.4 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.11.3 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.11.2 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.11.1 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.11.0 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.10.0 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.9.4 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.9.3.3 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.9.3.2 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.9.3.1 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.9.2 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.9.0 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.8.15 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.8.14 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.8.13 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.8.12 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.8.11 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.8.10 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.8.9 app/views/para/admin/resources/_subclassable_add_button.html.haml
para-0.8.8 app/views/para/admin/resources/_subclassable_add_button.html.haml