Various small fixes for the participant UI
This commit is contained in:
parent
b6abe96279
commit
d13efa5f52
31 changed files with 287 additions and 279 deletions
|
|
@ -30,4 +30,4 @@
|
|||
method: :delete, class: 'btn btn-danger', data: { confirm: "Do you really want to delete #{difficulty_level.title}?" }
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
= link_to 'Add Difficulty Level', new_admin_conference_difficulty_level_path(@conference.short_title), class: 'btn btn-primary'
|
||||
= link_to 'Add Difficulty Level', new_admin_conference_difficulty_level_path(@conference.short_title), class: 'btn btn-primary'
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
-if @sponsor.new_record?
|
||||
New
|
||||
%h1
|
||||
-if @sponsor.new_record?
|
||||
New
|
||||
Sponsor
|
||||
= @sponsor.name
|
||||
.row
|
||||
|
|
@ -16,4 +16,4 @@
|
|||
= f.input :website_url
|
||||
= f.input :sponsorship_level, collection: @conference.sponsorship_levels
|
||||
%p.text-right
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
%table.table.table-hover#tickets
|
||||
%thead
|
||||
%th Title
|
||||
%th Description
|
||||
%th Price
|
||||
%th Sold
|
||||
%th Actions
|
||||
|
|
@ -19,6 +20,8 @@
|
|||
%td
|
||||
= link_to(admin_conference_ticket_path(@conference.short_title, ticket.id)) do
|
||||
= ticket.title
|
||||
%td
|
||||
= truncate(ticket.description)
|
||||
%td
|
||||
= humanized_money_with_symbol ticket.price
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue