Sha256: 3c940c5b21e610278c2bee926ea15755a4a0bede57c07de5fa679f4b0acb793f

Contents?: true

Size: 1.47 KB

Versions: 5

Compression:

Stored size: 1.47 KB

Contents

.card.small.uploaded{ id: "medium-#{medium.id}", data: { id: "#{medium.id}"}}
  -# , class: "#{'medium' unless @disabled===true}"
  .card-image.uploaded.waves-effect.waves-block.waves-light
    = image_tag medium.medium._url(:thumb), class: 'activator'
  .card-action
    .row
      .col.s12
        / %strong.error.text-danger
        / TODO 18-10-2015 picture properties and edit/crop does not work
        -# %i.material-icons.activator.right{ style: "margin-top: 6px; margin-left: 5px"} more_vert
        -# = link_to medium, class: 'edit_link right', data: { url: '/media', name: "#{medium.title}", id: "#{medium.id}", remove: "#medium-#{medium.id}" } do
        -#   %i.material-icons.green-text.small{ title: "#{t('.edit')}", style: "margin-top: 5px"} edit
        = link_to medium, class: 'delete_link right', data: { url: '/media', name: "#{medium.title}", id: "#{medium.id}", remove: "#medium-#{medium.id}" } do
          %i.material-icons.red-text.small{ title: "#{t('.delete')}", style: "margin-top: 5px"} delete

  .card-reveal
    %span.card-title.grey-text.text-darken-4
      Billed egenskaber
      %i.material-icons.right close
    %p
      %span.card-title.grey-text.text-darken-4= (medium.title.blank? ? medium.medium.filename : medium.title)
    %p
      %input.string.optional{ name: "media[medium#{medium.id}][title]", placeholder: "Titel" }
    %p
      %textarea.text.optional.materialize-textarea{ name: "media[medium#{medium.id}][description]", placeholder: "Beskrivelse" }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
oxen_media-0.0.6 app/views/media/_medium.html.haml
oxen_media-0.0.5 app/views/media/_medium.html.haml
oxen_media-0.0.4 app/views/media/_medium.html.haml
oxen_media-0.0.3 app/views/media/_medium.html.haml
oxen_media-0.0.2 app/views/media/_medium.html.haml