This file contains hidden or 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
| /* | |
| Some simple Github-like styles, with syntax highlighting CSS via Pygments. | |
| */ | |
| body{ | |
| font-family: helvetica, arial, freesans, clean, sans-serif; | |
| color: #333; | |
| background-color: #fff; | |
| border: none; | |
| line-height: 1.5; | |
| margin: 2em 3em; |
This file contains hidden or 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
| https://gist.github.com/somebox/1082608 |
This file contains hidden or 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
| <div id="disqus_thread"></div> | |
| <script type="text/javascript"> | |
| /* * * CONFIGURATION VARIABLES * * */ | |
| var disqus_shortname = 'oxyrus'; | |
| var disqus_identifier = '2'; | |
| var disqus_title = 'Whatever'; | |
| var disqus_url = 'http://localhost:3000/posts/2' | |
| /* * * DON'T EDIT BELOW THIS LINE * * */ | |
| (function() { |
This file contains hidden or 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
| <%= simple_form_for @article do |f| %> | |
| <%= f.input :title, label: "Title of the article" %> | |
| <%= f.text_area :body, :input_html => { :class => "tinymce" }, :rows => 20, :cols => 60 %> | |
| <%= f.input :description, label: "Short description of the article" %> | |
| <%= f.input :header, label: "Header image" %> | |
| <%= f.button :submit %> | |
| <%= tinymce %> | |
| <%end%> |
NewerOlder