diff --git a/app/pods/components/scientific-name/template.hbs b/app/pods/components/scientific-name/template.hbs index 0c517d2..1f3609e 100644 --- a/app/pods/components/scientific-name/template.hbs +++ b/app/pods/components/scientific-name/template.hbs @@ -1 +1 @@ -{{strain.species.speciesName}} (strain {{strain.strainName}}) +{{strain.species.speciesName}} (strain {{strain-name strain=strain}}) diff --git a/app/pods/components/species-details/template.hbs b/app/pods/components/species-details/template.hbs index 0071880..756a6a0 100644 --- a/app/pods/components/species-details/template.hbs +++ b/app/pods/components/species-details/template.hbs @@ -5,7 +5,7 @@ {{#if isEditing}} {{input value=species.speciesName}} {{else}} - {{species.speciesName}} + {{species.speciesName}} {{/if}} {{display-errors a=species.errors.speciesName}} @@ -18,7 +18,7 @@ {{#each species.strains as |strain index|}} {{if index ","}} {{#link-to 'strains.show' strain.id}} - {{strain.strainName}} + {{strain-name strain=strain}} {{/link-to}} {{/each}} {{#unless species.isNew}} diff --git a/app/pods/components/species-index-row/template.hbs b/app/pods/components/species-index-row/template.hbs index 3038aa9..e3455a7 100644 --- a/app/pods/components/species-index-row/template.hbs +++ b/app/pods/components/species-index-row/template.hbs @@ -9,7 +9,7 @@ {{#each data.strains as |strain index|}} {{if index ","}} {{#link-to 'strains.show' strain.id}} - {{strain.strainName}} + {{strain-name strain=strain}} {{/link-to}} {{/each}} diff --git a/app/pods/components/strain-details/template.hbs b/app/pods/components/strain-details/template.hbs index c49d5f4..f2d648f 100644 --- a/app/pods/components/strain-details/template.hbs +++ b/app/pods/components/strain-details/template.hbs @@ -5,7 +5,7 @@ {{#if isEditing}} {{input value=strain.strainName}} {{else}} - {{strain.strainName}} + {{strain.strainName}} {{/if}} {{display-errors a=strain.errors.strainName}} diff --git a/app/pods/components/strain-index-row/template.hbs b/app/pods/components/strain-index-row/template.hbs index acd0c58..4d64b0b 100644 --- a/app/pods/components/strain-index-row/template.hbs +++ b/app/pods/components/strain-index-row/template.hbs @@ -1,5 +1,5 @@