validate track name, render instead of redirect for campaigns, fix view for new sponsor
This commit is contained in:
parent
5fb7e5cbef
commit
2c768a358a
3 changed files with 9 additions and 11 deletions
|
|
@ -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' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue