Sha256: 0759adc5cb48eebbeeb0e52cb82457e2a6dabf0b99881aa2c843a732a4feb4e7
Contents?: true
Size: 1.53 KB
Versions: 6
Compression:
Stored size: 1.53 KB
Contents
<div class="form-group"> <%= f.label t('klastera.use_cluster_as') %> <span class="klastera-cluster-option" data-title="<%= t('klastera.help.popover.title')%>" data-toggle="popover" data-content="<%= t('klastera.help.popover.content', m1:t('klastera.help.required_suborganization', t: t('klastera.required_suborganization'), e: t('klastera.clusters.entities')), m2:t('klastera.help.optional_suborganization', t: t('klastera.optional_suborganization'), e: t('klastera.clusters.entities')), m3:t('klastera.help.optional_filter', t: t('klastera.optional_filter'), e: t('klastera.clusters.entities')) )%>" > <%= fa_icon 'info-circle', class: 'btn-link' %> </span> <%= f.select :use_cluster_as, Cluster::MODES.map{|cm|[t("klastera.#{cm}"),cm]}, { include_blank: true }, { class: 'form-control' } %> </div> <script type="text/javascript"> var popoverTemplate = '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>' $('.klastera-cluster-option').popover({ template: popoverTemplate, html: true, trigger: 'click', }); </script> <style type="text/css"> ul.klastera-option-help { padding-left: 20px; list-style-type: disc; } ul.klastera-option-help li { margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid #DDD; } ul.klastera-option-help li b { color: #8A8A8A; font-weight: 400; } ul.klastera-option-help li b:first-child { color: #2E5F9B; font-weight: bold; } </style>
Version data entries
6 entries across 6 versions & 1 rubygems