mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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|
|
||||
%section#basic
|
||||
= 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
|
||||
%section#details
|
||||
- unless @event.state === "unconfirmed" || @event.state === "confirmed"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue