Ignore:
Timestamp:
20 Jan 2012, 07:55:43 (13 years ago)
Author:
Henrik Bettermann
Message:

Some button adjustments.

File:
1 edited

Legend:

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

    r7484 r7489  
    275275        return get_users_with_local_roles(self.context)
    276276
    277     @action('Save')
    278     def apply(self, **data):
     277    @action('Save', style='primary')
     278    def save(self, **data):
    279279        self.applyData(self.context, **data)
    280         self.flash('Data saved.')
     280        self.flash('Form has been saved.')
    281281        return
    282282
     
    650650            dict(name=x, title=y) for x, y in allowed_transitions]
    651651
    652     @action('Save')
     652    @action('Save', style='primary')
    653653    def save(self, **data):
    654654        form = self.request.form
Note: See TracChangeset for help on using the changeset viewer.