Beginnings of Backbone views/models.
This commit is contained in:
2
cms/static/client_templates/generic_metadata_entry.html
Normal file
2
cms/static/client_templates/generic_metadata_entry.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<label><%= model.get('display_name') %>:</label>
|
||||
<input type='text' class='editor' value='<%= model.get("value") %>' size='60'/>
|
||||
7
cms/static/client_templates/metadata_editor.html
Normal file
7
cms/static/client_templates/metadata_editor.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<ul>
|
||||
<% _.each(metadata_entries, function(entry) { %>
|
||||
<li>
|
||||
<div class='metadata_entry' />
|
||||
</li>
|
||||
<% }) %>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user