This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Lesson | |
include Mongoid::Document | |
field :title, type: String | |
field :body, type: String | |
field :release_date, type: Date | |
field :pdf, type: String | |
field :image, type String | |
field :audio, type: String | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function expand() { | |
$(this).hide(); | |
var parent; | |
parent = $(this).parents(".span4"); | |
console.log(parent); | |
$(parent).contents().find("a.collapse-translation").show(); | |
$(parent).css("height", "auto"); | |
$(parent).children(".extra-content").slideDown(); | |
return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dirty fix | Line 120 | |
<div class="container" style="width: 980px;"> | |
// CSS Fix | |
<div class="container" id="navbar"> | |
// Add rule to CSS |
NewerOlder