Sha256: 9d34e9afc65f0af4ebe6420cdb2e0807fb4af5799cf520b721fa5140fd038aec

Contents?: true

Size: 526 Bytes

Versions: 8

Compression:

Stored size: 526 Bytes

Contents

.the_attachments
  - if object.value?
    - object.value.each do |file|
      .l_item
        %a{href: file.url}= file.name
        %a{href: '#', class: 'l_remove_button'}= t(:remove_attachment)
        = hidden_field_tag object.name, file.name
        .css_clear

  %textarea.l_file_field_template.hidden
    .l_item
      = file_field_tag object.name
      .l_attachment_stub{style: 'display: none'}
      %a{href: '#', class: 'l_remove_button', style: 'display: none;'}= t(:remove_attachment)
      .css_clear

  .css_clear

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rad_common_interface-0.0.14 app/views/face/_attachments_tag.html.haml
rad_common_interface-0.0.13 app/views/face/_attachments_tag.html.haml
rad_common_interface-0.0.12 app/views/face/_attachments_tag.html.haml
rad_common_interface-0.0.11 app/views/face/_attachments_tag.html.haml
rad_common_interface-0.0.10 app/views/face/_attachments_tag.html.haml
rad_common_interface-0.0.9 app/views/face/_attachments_tag.html.haml
rad_common_interface-0.0.8 app/views/face/_attachments_tag.html.haml
rad_common_interface-0.0.7 app/views/face/_attachments_tag.html.haml