Skip to content

Commit

Permalink
Minor bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
VineetReynolds committed Feb 8, 2013
1 parent 2c724a3 commit 95390d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<label for="${property.name}" class="control-label">${property.name?cap_first}</label>
<div class="controls">
<#if (property["many-to-one"]!"false") == "true" || (property["one-to-one"]!"false") == "true">
<select id="${property.name}" name="${property.name}" ng-model="${entityName?lower_case}.${property.name}" ng-options="${property.name?substring(0, 1)} as ${property.name?substring(0, 1)}.id for ${property.name?substring(0, 1)} in ${property.name}List" <#if property.required!"false" == "true">required</#if> >
<select id="${property.name}" name="${property.name}" ng-model="${entityName?lower_case}.${property.name}" ng-options="${property.name?substring(0, 1)} as ${property.name?substring(0, 1)}.id for ${property.name?substring(0, 1)} in ${property.name}List" <#if (property.required!"false") == "true">required</#if> >
<option value="">Choose a ${property.name?cap_first}</option>
</select>
<#if (property.required!"false") == "true">
Expand Down

0 comments on commit 95390d2

Please sign in to comment.