Sha256: 447ad102232f4d1e5d3917a4d495c4f10c2410d04077244511bd9c5ccde8a0a0

Contents?: true

Size: 1.19 KB

Versions: 51

Compression:

Stored size: 1.19 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">
      <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

51 entries across 51 versions & 1 rubygems

Version Path
promethee-1.8.3 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.8.2 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.8.1 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.8.0 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.12 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.11 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.10 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.9 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.8 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.7 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.6 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.5 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.4 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.3 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.2 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.1 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.7.0 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.6.63 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.6.62 app/views/promethee/components/collection_item/_edit.inspect.html.erb
promethee-1.6.61 app/views/promethee/components/collection_item/_edit.inspect.html.erb