Merge branch '1949-show_specie_genus' of verdnatura/salix into dev
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
commit
0bfabeb32b
|
@ -29,14 +29,21 @@
|
||||||
value-field="genus_id"
|
value-field="genus_id"
|
||||||
label="Genus">
|
label="Genus">
|
||||||
</vn-autocomplete>
|
</vn-autocomplete>
|
||||||
<vn-autocomplete
|
<vn-autocomplete vn-one
|
||||||
vn-one
|
label="Species"
|
||||||
initial-data="$ctrl.botanical.specie"
|
initial-data="$ctrl.botanical.specie"
|
||||||
ng-model="$ctrl.botanical.specieFk"
|
ng-model="$ctrl.botanical.specieFk"
|
||||||
url="species"
|
url="species"
|
||||||
show-field="latin_species_name"
|
show-field="latin_species_name"
|
||||||
value-field="specie_id"
|
value-field="specie_id"
|
||||||
label="Species">
|
fields="['genus_id']"
|
||||||
|
include="'genus'">
|
||||||
|
<tpl-item>
|
||||||
|
<div>{{latin_species_name}}</div>
|
||||||
|
<div class="text-caption text-secondary">
|
||||||
|
{{genus.latin_genus_name}}
|
||||||
|
</div>
|
||||||
|
</tpl-item>
|
||||||
</vn-autocomplete>
|
</vn-autocomplete>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
</vn-card>
|
</vn-card>
|
||||||
|
|
Loading…
Reference in New Issue