Created
September 10, 2015 10:54
-
-
Save Oxyrus/4e796c2b3bef38656efe to your computer and use it in GitHub Desktop.
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%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment