{{#if filters.isPending}}
Wczytywanie danych...
{{else}} {{#if filters.isFulfilled}}
{{#if filters.isActiveAddress}}
{{view Em.Select value=filters.active.content.town content=filters.active.dict.town.content optionLabelPath="content.name" optionValuePath="content.id" disabled=filters.active.dict.town.isNotFulfilled prompt="-- wybierz --" }}
{{#unless filters.active.dict.street.noResults}} {{view Em.Select value=filters.active.content.street content=filters.active.dict.street.content optionLabelPath="content.name" optionValuePath="content.id" disabled=filters.active.dict.street.isNotFulfilled prompt="-- wybierz --" }} {{else}} {{view Em.Select value=filters.active.content.street content=filters.active.dict.street.content optionLabelPath="content.name" optionValuePath="content.id" disabled=true prompt="-- brak ulic --" }} {{/unless}}
{{input value=filters.active.content.number}}
{{/if}} {{#if filters.isActiveLot}}
{{view Em.Select value=filters.active.content.commune content=filters.active.dict.commune.content optionLabelPath="content.name" optionValuePath="content.id" disabled=filters.active.dict.commune.isNotFulfilled prompt="-- wybierz --" }}
{{#unless filters.active.dict.ground.noResults}} {{view Em.Select value=filters.active.content.ground content=filters.active.dict.ground.content optionLabelPath="content.name" optionValuePath="content.id" disabled=filters.active.dict.ground.isNotFulfilled prompt="-- dowolny --" }} {{else}} {{view Em.Select value=filters.active.content.ground content=filters.active.dict.ground.content optionLabelPath="content.name" optionValuePath="content.id" disabled=true prompt="-- brak obrębów --" }} {{/unless}}
{{#unless filters.active.dict.sheet.noResults}} {{view Em.Select value=filters.active.content.sheet content=filters.active.dict.sheet.content optionLabelPath="content.name" optionValuePath="content.id" disabled=filters.active.dict.sheet.isNotFulfilled prompt="-- dowolny --" }} {{else}} {{view Em.Select value=filters.active.content.sheet content=filters.active.dict.sheet.content optionLabelPath="content.name" optionValuePath="content.id" disabled=true prompt="-- brak arkuszy --" }} {{/unless}}
{{input value=filters.active.content.number}}
{{/if}}
{{#if results}}
Wyniki
{{#each item in results}} {{/each}}
{{item.name}}
{{/if}} {{else}}
Wystąpił błąd wczytywania danych. Spróbuj ponownie
{{/if}} {{/if}}