Commit 2fbbced4 authored by Ted Trask's avatar Ted Trask

Modify listtables HTML view to use dispatch_component for createdatabase action

parent c972d267
......@@ -58,9 +58,10 @@ formvalues.table = cfe({ type="hidden" })
</tr>
<% end %>
</tbody></table>
<% elseif viewlibrary.check_permission("createdatabase") then %>
<% htmlviewfunctions.displayitem(cfe({type="form", value={}, label="Create Database", option="Create", action="createdatabase" }), page_info, 0) %>
<% else %>
<p>No tables found</p>
<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("createdatabase") then
viewlibrary.dispatch_component("createdatabase")
end %>
<% end %>
<% htmlviewfunctions.displaysectionend(header_level) %>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment