<% if (id) { %> {{ i18n('notebooks.edit') }} <% } else { %> {{ i18n('notebooks.add') }} <% } %>