Sha256: 0ebc180d5c577a848b18b45802c06183ad1ecd702ae5d1872f8d43ec331a1657

Contents?: true

Size: 1.05 KB

Versions: 3

Compression:

Stored size: 1.05 KB

Contents

<script type="text/ng-template" id="promethee/components/image/localize">
  <div ng-show="component.master.attributes.alt || component.master.attributes.caption">
    <hr>
    <div class="row">
      <div class="col-md-6">
        <img ng-src="{{component.master.attributes.src}}" class="img-responsive" />
        <div ng-show="component.master.attributes.alt">
          <b>Alt</b>
          <p>{{component.master.attributes.alt}}</p>
        </div>
        <div ng-show="component.master.attributes.caption">        
          <b>Description</b>
          <p>{{component.master.attributes.caption | htmlSafe}}</p>
        </div>
      </div>
      <div class="col-md-6">
        <div ng-show="component.attributes.alt">
          <b>Alt</b>
          <input ng-model="component.attributes.alt" type="text" class="form-control">
        </div>
        <div ng-show="component.attributes.caption">
          <b>Description</b>
          <summernote config="options" ng-model="component.attributes.caption"></summernote>
        </div>
      </div>
    </div>
  </div>
</script>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
promethee-1.3.20 app/views/promethee/components/image/_localize.html.erb
promethee-1.3.19 app/views/promethee/components/image/_localize.html.erb
promethee-1.3.18 app/views/promethee/components/image/_localize.html.erb