summaryrefslogtreecommitdiffstats
path: root/client/components/lists/header.jade
blob: 5196af5ddc5b006b32a3bc319c671ec7e5236609 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
template(name="listHeader")
  .list-header.js-list-header
    +inlinedForm
      +editListTitleForm
    else
      h2.list-header-name.js-open-inlined-form= title
      a.list-header-menu-icon.fa.fa-bars.js-open-list-menu

template(name="editListTitleForm")
  input.field.single-line(type="text" value="{{getCache title}}" autofocus)
  .edit-controls.clearfix
    input.primary.confirm(type="submit" value="{{_ 'save'}}")
    a.fa.fa-times.js-close-inlined-form