Sha256: 50f54bf5050814057a0aa875b83cb136affd1fcace554951a6f0754eb2cd6d32

Contents?: true

Size: 401 Bytes

Versions: 1

Compression:

Stored size: 401 Bytes

Contents

<%= render :partial => "discussion/comments/view", collection: commentable.comments.includes(:author), as: 'comment' %>

<%= simple_form_for([commentable, commentable.comments.build], remote: Discussion.ajaxify) do |f| %>
    <%= f.error_notification %>
    <%= render :partial => "discussion/comments/form", locals: {f: f} %>

    <div class="form-actions">
      <%= f.submit %>
    </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
discussion-0.0.1 app/views/discussion/comments/_list_with_form.html.erb