Added abaility for admins to add registrations
This commit is contained in:
@@ -19,7 +19,19 @@
|
||||
.actions
|
||||
= link_to (_'links.download.Excel'), administration_step_path(@this_conference.slug, :stats, :format => :xlsx), class: [:button, :download]
|
||||
= link_to (_'links.download.Organizations_Excel'), administration_step_path(@this_conference.slug, :organizations, :format => :xlsx), class: [:button, :download, :subdued]
|
||||
%h4 Registrations
|
||||
= searchfield :search, nil, big: true
|
||||
.table-scroller
|
||||
= html_table @excel_data, registrations_table_options
|
||||
%h4=_'articles.admin.stats.headings.Registrations'
|
||||
.goes-fullscreen#registrations-table
|
||||
.flex-column
|
||||
= searchfield :search, nil, big: true, stretch: true
|
||||
%a.button{data: { expands: 'registrations-table' }}='expand'
|
||||
%a.button.delete{data: { contracts: 'registrations-table' }}='close'
|
||||
%a.button.modify{data: { 'opens-modal': 'new-registration' }}='+'
|
||||
.table-scroller
|
||||
= html_table @excel_data, registrations_table_options
|
||||
= form_tag administration_update_path(@this_conference.slug, :stats), id: 'new-registration', class: 'modal-edit' do
|
||||
.modal-edit-overlay{data: { 'closes-modal': 'new-registration' }}
|
||||
.modal-edit-content
|
||||
=html_edit_table @excel_data, registrations_edit_table_options
|
||||
.actions
|
||||
%a.button.subdued{data: { 'closes-modal': 'new-registration' }}='Cancel'
|
||||
= button_tag :save, value: :save, class: :modify
|
||||
|
||||
Reference in New Issue
Block a user