Sha256: d39353265e395f080a5ff7daa880427527a0366b0831e7331e1cc693534f21aa
Contents?: true
Size: 1.71 KB
Versions: 6
Compression:
Stored size: 1.71 KB
Contents
.media-library data-media-library=helper.html_id data-media-library-ids=helper.ids required=helper.required = form.label helper.file_field_name, helper.label, class: helper.label_css_class - if helper.helptext .ratio-text = helper.helptext label.dsml-media-button for=helper.html_id Media library em or = form.file_field helper.file_field_name, multiple: helper.multiple input.dsml-modal-input type="checkbox" id=helper.html_id .dsml-modal-wrapper .dsml-modal-bg .dsml-modal-content label.dsml-modal-close for=helper.html_id .borders .media-wrapper data-load-url=ds_media_library.folders_path(helper.to_h) p Loading... - helper.selected_resources.each do |resource| input.hidden name="ds_media_library" type="checkbox" value=resource.id checked=true data=resource.attributes dl.dsml-playlist-media id="dsml-selected-media-#{helper.html_id}" script#dsml-media-preview-template type="text/x-html-template" dfn.dsml-preview-form .dsml-preview-wrapper - if helper.preview | <{{type}} src="{{url}}" controls=true /> - if helper.multiple = form.check_box helper.field_id_name, { multiple: true, checked: true, id: "#{helper.field_id_name}_{{id}}" }, "{{id}}", nil label for="#{helper.field_id_name}_{{id}}" span Remove #{helper.label.downcase.singularize} {{index}} - else = form.check_box helper.field_id_name, { checked: true }, "{{id}}", "" - if helper.optional = form.label helper.field_id_name do span Remove #{helper.label.downcase} = yield if block_given? dt figcaption | {{resourcesoriginalfilename}}
Version data entries
6 entries across 6 versions & 1 rubygems