use property rather than referencing the metadata dictionary. This is better because if there is no 'display_name' defined, then we get back a string of the location name

This commit is contained in:
Chris Dodge
2013-01-23 09:12:24 -05:00
parent 381ede20e1
commit 0042131588

View File

@@ -21,7 +21,7 @@
<article class="subsection-body window" data-id="${subsection.location}">
<div class="subsection-name-input">
<label>Display Name:</label>
<input type="text" value="${subsection.metadata['display_name']}" class="subsection-display-name-input" data-metadata-name="display_name"/>
<input type="text" value="${subsection.display_name}" class="subsection-display-name-input" data-metadata-name="display_name"/>
</div>
<div>
<label>Format:</label>