client/templates/nodeeditor.html
changeset 482 a55c33989404
parent 468 364c367df7fc
child 530 9823b527c3a1
--- a/client/templates/nodeeditor.html	Mon Jun 15 12:08:14 2015 +0200
+++ b/client/templates/nodeeditor.html	Tue Jun 16 11:36:09 2015 +0200
@@ -12,6 +12,17 @@
         <input class="Rk-Edit-URI" type="text" value="<%-node.uri%>" />
         <a class="Rk-Edit-Goto" href="<%-node.uri%>" target="_blank"></a>
     </p>
+<% } %> <% if (options.change_types) { %>
+    <p>
+        <label><%-renkan.translate("Types available")%>:</label>
+        <select class="Rk-Edit-Type">
+          <% _.each(types, function(type) { %>
+            <option class="Rk-Edit-Vocabulary-Property" value="<%- type %>"<% if (node.type === type) { %> selected<% } %>>
+                <%- renkan.translate(type.charAt(0).toUpperCase() + type.substring(1)) %>
+            </option>
+          <% }); %>
+        </select>
+    </p>
 <% } %> <% if (options.show_node_editor_description) { %>
     <p>
         <label><%-renkan.translate("Description:")%></label>