Sha256: c1d2b65bb90606a5dcf7fedc525e80c9706a5e05d31619517ddd61e1a174072e
Contents?: true
Size: 574 Bytes
Versions: 1
Compression:
Stored size: 574 Bytes
Contents
= form_for(@article) do |f| - if @article.errors.any? #error_explanation h2 = pluralize(@article.errors.count, "error") | prohibited this article from being saved: ul - @article.errors.full_messages.each do |message| li = message .form-group = f.label :title = f.text_field :title, class: "form-control" .form-group = f.label :text = f.text_area :text, class: ["tinymce", "form-control"], rows: 40, cols: 120 = tinymce .actions = f.submit "Submit", class: ["btn", "btn-default"]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigmouth-0.0.1 | app/views/bigmouth/articles/_form.html.slim |