Sha256: 3b75eb591a4d064a470bd7f342c25c0f31e8f9d79640090d53aee645c9f439da
Contents?: true
Size: 611 Bytes
Versions: 7
Compression:
Stored size: 611 Bytes
Contents
<%= rc_form_tag('/articles', ip: request.remote_ip) do |f| %> <% if @article.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@article.errors.count, "error") %> prohibited this article from being saved:</h2> <ul> <% @article.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div> <%= label_tag 'title' %><br> <%= rc_text_field_tag 'title' %> </div> <div> <%= label_tag 'text' %><br> <%= rc_text_area_tag 'text' %> </div> <div> <%= submit_tag %> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems