Sha256: 593f997eadf7fadd3f906e181b9bf3273222a9f71bb40856e722c173b376a6f8

Contents?: true

Size: 1.2 KB

Versions: 59

Compression:

Stored size: 1.2 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" type="radio" value="image" />Image </label>
      <label class="radio-inline"> <input ng-model="promethee.inspected.attributes.media_type" type="radio" value="video" />Video </label>
    </div>
  </div>

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

  <div class="form-group" ng-show="promethee.inspected.attributes.media_type == 'video'">
    <label class="label-control">Video URL</label>
    <input class="form-control" ng-model="promethee.inspected.attributes.video.url"></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.searchable_caption"></summernote>
      </div>
    </div>
  </div>
</script>

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
promethee-3.0.2 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-3.0.1 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-3.0.0 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.1.3 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.1.2 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.1.1 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.1.0 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.9 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.8 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.7 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.6 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.5 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.4 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.3 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.2 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.1 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-2.0.0 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.11.29 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.11.28 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.11.27 app/views/promethee/components/collection_item/_edit.inspect.html.erb