mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Retire semantic_form_for
Also a buttload of form cleanups...
This commit is contained in:
parent
350b1ebbbe
commit
81853d1ef9
136 changed files with 1825 additions and 1441 deletions
|
|
@ -1,10 +1,15 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class RegistrationDatatable < AjaxDatatablesRails::Base
|
||||
class RegistrationDatatable < AjaxDatatablesRails::ActiveRecord
|
||||
extend Forwardable
|
||||
|
||||
def_delegator :@view, :edit_admin_conference_registration_path
|
||||
|
||||
def initialize(params, opts = {})
|
||||
@view = opts[:view_context]
|
||||
super
|
||||
end
|
||||
|
||||
def view_columns
|
||||
@view_columns ||= {
|
||||
id: { source: 'Registration.id', cond: :eq },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue