def _process(self): form = self._make_form() widget_attrs = { field.short_name: { 'disabled': True } for field in form } if self.event.is_locked else {} return WPFeatures.render_template('features.html', self.event, form=form, widget_attrs=widget_attrs)
def _process(self): form = self._make_form() widget_attrs = {field.short_name: {'disabled': True} for field in form} if self.event.is_locked else {} return WPFeatures.render_template('features.html', self.event, form=form, widget_attrs=widget_attrs)
def _process(self): form = self._make_form() return WPFeatures.render_template('features.html', self.event, event=self.event, form=form)
def _process(self): form = self._make_form() return WPFeatures.render_template('features.html', self._conf, event=self.event_new, form=form)