Sha256: 0af7a8d784bdd1fe4309a13897a852feb198b714943666000f5b052e1a51d519

Contents?: true

Size: 1.23 KB

Versions: 16

Compression:

Stored size: 1.23 KB

Contents

<script type="text/ng-template" id="promethee/components/collection_item/edit/inspect">
  <div class="form-group">
    <label class="label-control">Media type</label>
    <div>
      <label class="radio-inline"> <input ng-model="promethee.inspected.attributes.media_type.value" type="radio" value="image" />Image </label>
      <label class="radio-inline"> <input ng-model="promethee.inspected.attributes.media_type.value" type="radio" value="video" />Video </label>
    </div>
  </div>

  <promethee-uploader ng-show="promethee.inspected.attributes.media_type.value == 'image'" ng-model="promethee.inspected.attributes.image.value" label="Image" limits="'.jpg,.jpeg,.png,.gif'"></promethee-uploader>

  <div class="form-group" ng-show="promethee.inspected.attributes.media_type.value == 'video'">
    <label class="label-control">Video URL</label>
    <input class="form-control" ng-model="promethee.inspected.attributes.video.value"></summernote>
  </div>

  <div class="row">
    <div class="col-xs-12 col-12">
      <div class="form-group">
        <label class="label-control">Caption</label>
        <summernote config="summernoteConfig" ng-model="promethee.inspected.attributes.caption.value"></summernote>
      </div>
    </div>
  </div>
</script>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
promethee-4.1.6 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.1.5 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.1.4 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.1.3 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.1.2 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.1.1 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.1.0 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.8 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.7 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.6 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.5 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.4 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.3 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.2 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.1 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-4.0.0 app/views/promethee/components/collection_item/_edit.inspect.html.erb