{{#crud-form changesets=changesets onSave=(action onSave) onCancel=(action onCancel) as |f| }}
Species | Count | Count Estimated | Sex | Delete |
---|---|---|---|---|
{{#validated-field property='species' changeset=cs.changeset}} {{#power-select options=options.species selected=cs.changeset.species onchange=(action (mut cs.changeset.species)) searchField='commonName' as |species| }} {{species.commonName}} {{/power-select}} {{/validated-field}} | {{#validated-field property='count' changeset=cs.changeset}} {{input value=cs.changeset.count}} {{/validated-field}} | {{#validated-field property='countEstimated' changeset=cs.changeset}} {{input checked=cs.changeset.countEstimated type='checkbox'}} {{/validated-field}} | {{#validated-field property='sex' changeset=cs.changeset}} {{input value=cs.changeset.sex}} {{/validated-field}} | {{action-button isDanger=true isXSmall=true label='X' onClick=(action 'deleteCollectionSpecies' cs)}} |