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
https://gist.github.com/somebox/1082608 |
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
<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 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