summaryrefslogtreecommitdiffstats
path: root/client/components/lists/header.jade
blob: e319aa93fdf22ab4c7af9e5d8a912dea4043b3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
template(name="listHeader")
  .list-header.js-list-header
    +inlinedForm
      +editListTitleForm
    else
      h2.list-header-name(
        class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}")
        = title
      a.list-header-menu-icon.fa.fa-bars.js-open-list-menu

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