Sha256: 2cf2f11278cd61d5fba12153759720919a7735a9851fdb3a413f63ee6ec53ae7

Contents?: true

Size: 621 Bytes

Versions: 1

Compression:

Stored size: 621 Bytes

Contents

- tag :div, object.merge_html_attributes(class: " the_list m_selectable") do
  - if object.controls?
    .m_hover_controls= object.controls.join(' ')

  - if object.name?
    %h1.m_title= object.name
  - elsif object.content.blank?
    %h1.m_title= "(#{t(:empty)})"

  - if object.content?
    .l_content= object.content.to_a.join("\n")

  / Show or Hide Finished tasks
  .l_controls
    %a{href: '#', class: 'l_show_more hidden'}= t(:show_more)
    %a{href: '#', class: 'l_show_less hidden'}= t(:show_less)

  / needed for JavaScript
  .l_hidden_tasks.hidden

  = render themed_partial('/shared/details'), object: object

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_kit-0.0.10 app/views/themes/default/list.html.haml