Sha256: 3455e1db92667daecc875dd070f1956a13f6a6d859eb2eb0b3f775b16dccbe7e

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

span = I18n.t :phones, scope: [:layout, :label]
- if @phones.size > 1
  .phone_drop
    span = @phone.try(:title) || @phones.first.try(:title)
    ul
      - @phones.each do |phone|
        li
          = link_to phone.title, "javascript:void(0)", :data => { :phone => phone.value }
- else
  /! TODO
= tel_to @phone.value, @phone.value, class: 'telephone'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/cells/shared/phones.html.slim