<%
  import hashlib
  hlskey = hashlib.md5(module.location.url()).hexdigest()
%>
<section class="metadata_edit">
  <ul>
    % for field_name, field_value in editable_metadata_fields.items():
    <li>
      % if field_name == 'source_code':
        <a href="#hls-modal-${hlskey}" style="color:yellow;" id="hls-trig-${hlskey}" >Edit High Level Source</a>
      % else:
        <label>${field_name}:</label>
 	      <input type='text' data-metadata-name='${field_name}' value='${field_value}' size='60' />
      % endif
    </li>
    % endfor
  </ul>

  % if 'source_code' in editable_metadata_fields:
  <%include file="source-edit.html" />
  % endif

</section>
