Ignore:
Timestamp:
12 Jan 2012, 16:19:57 (13 years ago)
Author:
Henrik Bettermann
Message:

Merge Bootstrap branch into trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py

    r7321 r7459  
    3232    )
    3333from waeup.sirp.accesscodes.catalog import search
     34from waeup.sirp.browser.layout import action
    3435
    3536grok.context(ISIRPObject)
     
    6667    grok.require('waeup.manageACBatches')
    6768
    68     title = 'Create Access Code Batch'
     69    label = 'Create Access Code Batch'
    6970    pnav = 0
    7071
     
    7273        'prefix', 'entry_num', 'cost')
    7374
    74     @grok.action('Cancel')
     75    @action('Cancel')
    7576    def cancel(self, *args, **kw):
    7677        self.flash('Batch creation cancelled.')
    7778        self.redirect(self.url(self.context))
    7879
    79     @grok.action('Create batch')
     80    @action('Create batch')
    8081    def createBatch(self, **data):
    8182        creator = self.request.principal.id
Note: See TracChangeset for help on using the changeset viewer.