parent
2a3410c7ec
commit
f9ec6cc893
2 changed files with 4 additions and 40 deletions
|
|
@ -1,6 +1,4 @@
|
|||
class ConferenceController < ApplicationController
|
||||
layout false
|
||||
|
||||
def show
|
||||
@conference = Conference.find_by_title(params[:id])
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,38 +1,4 @@
|
|||
!!!
|
||||
%html
|
||||
%head
|
||||
%meta{:charset => "utf-8"}
|
||||
%meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
|
||||
%title= content_for?(:title) ? yield(:title) : "OSEM"
|
||||
%meta{:content => "", :name => "description"}
|
||||
%meta{:content => "", :name => "author"}
|
||||
= stylesheet_link_tag "application", :media => "all"
|
||||
= javascript_include_tag "application"
|
||||
= csrf_meta_tags
|
||||
%nav{:class=>"navbar navbar-default", :role => "navigation"}
|
||||
%div{:class => "container-fluid"}
|
||||
%div{ :class => "navbar-header" }
|
||||
%button{ :type=> "button", :class => "navbar-toggle", :data => {:toggle => "collapse", :target => "#navbar-collapse"}}
|
||||
%span.icon-bar
|
||||
%span.icon-bar
|
||||
%span.icon-bar
|
||||
%a{ :class=>"navbar-brand",:href=>"#" }
|
||||
= @conference.short_title
|
||||
%div{:class=>"collapse navbar-collapse",:id=>"navbar-collapse"}
|
||||
%ul{:class=>"nav navbar-nav"}
|
||||
%li
|
||||
%a{:href=>"#"} Program
|
||||
%li
|
||||
%a{:href=>"#"} Location
|
||||
%li
|
||||
%a{:href=>"#"} Registration
|
||||
%li
|
||||
%a{:href=>"#"} CfP
|
||||
%li
|
||||
%a{:href=>"#"} Sponsors
|
||||
%li
|
||||
%a{:href=>"#"} Press
|
||||
|
||||
%body
|
||||
|
||||
|
||||
.row
|
||||
.col-md-12
|
||||
%h1
|
||||
= @conference.title
|
||||
Loading…
Add table
Add a link
Reference in a new issue