Do not allow title change after proposal is confirmed
This commit is contained in:
parent
d9d889eb9f
commit
c91156ae0c
1 changed files with 8 additions and 1 deletions
|
|
@ -1,7 +1,14 @@
|
||||||
= semantic_form_for(@event, :url => @url) do |f|
|
= semantic_form_for(@event, :url => @url) do |f|
|
||||||
%section#basic
|
%section#basic
|
||||||
= f.inputs :name => "Session Information" do
|
= f.inputs :name => "Session Information" do
|
||||||
= f.input :title, :as => :string, :required => true
|
- if !@conference.call_for_papers.schedule_changes && @event.state == "confirmed"
|
||||||
|
Title
|
||||||
|
%br
|
||||||
|
= @event.title
|
||||||
|
%br
|
||||||
|
%br
|
||||||
|
- else
|
||||||
|
= f.input :title, :as => :string, :required => true
|
||||||
= f.input :subtitle, :as => :string
|
= f.input :subtitle, :as => :string
|
||||||
%section#details
|
%section#details
|
||||||
- unless @event.state === "unconfirmed" || @event.state === "confirmed"
|
- unless @event.state === "unconfirmed" || @event.state === "confirmed"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue