Ignore:
Timestamp:
May 12, 2010, 4:09:15 PM (9 years ago)
Author:
tabma
Message:
  • split up the templates in 'simple' and 'advanced' and created a new index page for the Import Wizard
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r415 r417  
    3636     * Default page
    3737     **/
    38     def index = {
    39         [templates:Template.list()]
     38    def index = {       
     39    }
     40
     41    def simplewizard = {
     42        def entities = ["Subject", "Event", "Sample"]
     43        render(view:"index_simple", model:[studies:Study.list(), entities:entities])
     44    }
     45
     46    def advancedwizard = {
     47        render(view:"index_advanced", model:[templates:Template.list()])
    4048    }
    4149
Note: See TracChangeset for help on using the changeset viewer.