File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 = csrf_meta_tags
99 %body
1010 = render " shared/menu/user"
11- .flash #{flash[:notice]}
11+ = render " shared/menu/main"
12+
13+ - if flash[:notice]
14+ .flash #{flash[:notice]}
15+
16+ = yield :links
1217 = yield
Original file line number Diff line number Diff line change 1- :javascript
2- $ (document ).ready (function (){
3- $ (' #ask_button' ).click (
4- function (){
5- $ (' #the_form' ).show ();
6- $ (' #ask_button' ).remove ();
7- });
8- });
91- content_for :title do
102 Questions
113
2315 %th
2416
2517 = render :partial => " list" , :collection => collection
26- %div #the_form {:style=>'display:none'}
27- = render " form"
28- - if current_user
29- %h3#ask_button Ask a question
Original file line number Diff line number Diff line change 1+ = semantic_menu do |root|
2+ - root.add " Home" , root_path
3+ - root.add " Questions" , questions_path
Original file line number Diff line number Diff line change 11%h1 Home!
2- %a (href ="/questions" ) Q&A
You can’t perform that action at this time.
0 commit comments