Sha256: bbefe71b479bc6c59f56a9366523289c4ff5fea590df22500d9f4b5033e7c991
Contents?: true
Size: 1.82 KB
Versions: 2
Compression:
Stored size: 1.82 KB
Contents
accordion-group is-open="status.open" accordion-heading i.pull-left.glyphicon ng-class="{'glyphicon-chevron-down': status.open, 'glyphicon-chevron-right': !status.open}" | = Kms::OptionType.model_name.human(count: 1.1) .row ng-controller="OptionValuesController" .col-lg-12 //TODO properties list .table-responsive table.table ng-repeat="(tag, tagged_option_values) in option_values" thead tr td.text-center.bg-info colspan="3" | {{ tag }} tbody tr ng-repeat="option_value in tagged_option_values" td style="width: 40%" | {{ option_value.name }} td style="width: 40%" | {{ option_value.value }} td .btn-group.pull-right / a.btn.btn-sm.btn-info ui-sref="assets.edit({id: asset.id})" / i.fa.fa-pencil a.btn.btn-sm.btn-danger ng-click="destroy(option_value)" i.fa.fa-times form role="form" ng-submit="create()" .form-group label for="option_type_id" = Kms::OptionValue.human_attribute_name(:option_type) ui-select ng-model='option_value.option_type_id' ui-select-match placeholder=I18n.t(:select_option_type_from_list_placeholder) | {{$select.selected.tag + ' / ' + $select.selected.name}} ui-select-choices repeat='ot.id as ot in available_option_types' div ng-bind-html="ot.tag + ' / ' + ot.name | highlight: $select.search" .form-group label for="value" = Kms::OptionValue.human_attribute_name(:value) input#name.form-control type="text" ng-model="option_value.value" ng-required="true" button.btn.btn-default type="submit" = I18n.t(:add_option_value)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kms_catalog-0.5.0 | app/assets/javascripts/templates/products/variants/option_types.html.slim |
kms_catalog-0.4.0 | app/assets/javascripts/templates/products/variants/option_types.html.slim |