File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1+ @extends (' layouts._two_columns_left_sidebar' )
2+
3+ @section (' sidebar' )
4+ @include (' forum._sidebar' )
5+ @stop
6+
7+ @section (' content' )
8+ <div class =" row forum" >
9+ <div class =" small-12 columns form" >
110{{ Form:: model ($thread -> resource ) } }
211 <fieldset >
3- <legend >Create Thread</legend >
12+ <legend >Edit Thread</legend >
413
514 <div class =" row" >
615 <div class =" " >
4352
4453{{ Form:: close () } }
4554
55+ @stop
56+
4657@include (' layouts._markdown_editor' )
4758
4859@section (' scripts' )
Original file line number Diff line number Diff line change 3939
4040@include (' layouts._markdown_editor' )
4141@include (' layouts._code_prettify' )
42+
43+
44+ @section (' scripts' )
45+ @parent
46+ <script src =" {{ asset (' javascripts/forums.js' ) } }" ></script >
47+ @stop
Original file line number Diff line number Diff line change @@ -6,4 +6,14 @@ function limitTagCheckboxes()
66 } ) ;
77}
88
9- limitTagCheckboxes ( ) ;
9+ function moveSidebar ( )
10+ {
11+ $ ( "window" ) . bind ( "resize" , function ( ) {
12+ if ( document . width < '800' ) {
13+ $ ( '.sidebar' ) . insertAfter ( 'section.content' ) ;
14+ }
15+ } ) ;
16+ }
17+
18+ limitTagCheckboxes ( ) ;
19+ moveSidebar ( ) ;
You can’t perform that action at this time.
0 commit comments