Fix the callforpapers routing and some styling issues
This commit is contained in:
parent
740540de13
commit
e4c19ab1f6
6 changed files with 40 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
|||
.col-md-3
|
||||
= render 'admin/conference/sidebar'
|
||||
.col-md-9
|
||||
= semantic_form_for(@cfp, :url => admin_conference_callforpaper_path(@conference.short_title, @conference.call_for_papers),:html => {:multipart => true}) do |f|
|
||||
= semantic_form_for(@cfp, :url => admin_conference_callforpapers_path(@conference.short_title),:html => {:multipart => true}) do |f|
|
||||
= f.input :start_date, :as => :string, :input_html => { :id => "conference-start-datepicker", :readonly => "readonly" }
|
||||
= f.input :end_date, :as => :string, :input_html => { :id => "conference-end-datepicker", :readonly => "readonly" }
|
||||
= f.input :hard_deadline, :as => :string, :input_html => { :id => "cfp-hard-datepicker", :readonly => "readonly" }
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
- flash.each do |name, msg|
|
||||
- if msg.is_a?(String)
|
||||
%div{:class => "alert alert-#{name == :notice ? "success" : "error"}"}
|
||||
%a.close{"data-dismiss" => "alert"} ×
|
||||
= content_tag :div, msg, :id => "flash_#{name}"
|
||||
- flash.each do |type, message|
|
||||
%div{:class=>"alert alert-dismissable #{bootstrap_class_for(type)}", :id=>"flash"}
|
||||
.button.close{"data-dismiss" => "alert", "aria-hidden"=>"true"}
|
||||
×
|
||||
%p
|
||||
= message
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
%html{:xmlns => "http://www.w3.org/1999/html"}
|
||||
%html
|
||||
%head
|
||||
%meta{:charset => "utf-8"}
|
||||
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue