Sha256: 307ede687ef6b4f93a941065ce94e605176bc4a1da0a1fead3ce4195015422cf

Contents?: true

Size: 995 Bytes

Versions: 7

Compression:

Stored size: 995 Bytes

Contents

.row
  .col-lg-12
    ul.nav.nav-tabs
      - Kms::SettingsService.templates.each_with_index do |(engine_class, _),index|
        li role="presentation" ng-class="{active: isActiveTab(#{index})}" ng-click="setActive(#{index})"
          a href="##{engine_class.engine_name}" = engine_class.engine_name.humanize
    div class="tab-content"
      - if Kms::SettingsService.templates.present?
        - Kms::SettingsService.templates.each_with_index do |(engine_class, templates), index|
          div role="tabpanel" class="tab-pane" ng-class="{active: isActiveTab(#{index})}" id=engine_class.engine_name
            form role="form" ng-submit="update()"
              .widget
                .widget-body.no-padding
                  - templates.each do |template|
                    .message
                      ng-include src="'#{template}'"
              .btn-group
                button.btn.btn-default type="submit" = I18n.t(:update_settings)
      - else
        = I18n.t(:no_settings)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kms-1.2.1 app/assets/javascripts/templates/settings.html.slim
kms-1.2.0 app/assets/javascripts/templates/settings.html.slim
kms-1.1.0 app/assets/javascripts/templates/settings.html.slim
kms-1.0.1 app/assets/javascripts/templates/settings.html.slim
kms-1.0.0 app/assets/javascripts/templates/settings.html.slim
kms-0.9.0 app/assets/javascripts/templates/settings.html.slim
kms-0.8.0 app/assets/javascripts/templates/settings.html.slim