Sha256: 44058931c366e4851dca4f2872c82f5da92a5d45c6b9ae614e84d637584a22a1

Contents?: true

Size: 701 Bytes

Versions: 33

Compression:

Stored size: 701 Bytes

Contents

<%= form_for(@article) 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 class="input_wrapper">
    <%= f.text_field :title, placeholder: "title..." %>
  </div>
  <div class="textarea_wrapper">
    <%= f.text_area :body, placeholder: "body..." %>
  </div>
  <div class="submit_button_wrapper">
    <button class="green_button" type="submit">
      <%= submit_message %>
    </button>
  </div>
<% end %>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
activity_notification-2.3.3 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.3.2 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.3.1 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.3.0 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.2.4 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.2.3 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.2.2 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.2.1 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.2.0 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.1.4 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.1.3 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.1.2 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.1.1 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.1.0 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-2.0.0 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-1.7.1 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-1.7.0 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-1.6.1 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-1.6.0 spec/rails_app/app/views/articles/_form.html.erb
activity_notification-1.5.1 spec/rails_app/app/views/articles/_form.html.erb