Sha256: 471a25effad0c86c8bc583a456a3a1c3e3f701639c1b0e362d33a984eb4fbff7

Contents?: true

Size: 301 Bytes

Versions: 10

Compression:

Stored size: 301 Bytes

Contents

<% if current_user %>
  <%= simple_form_for [@post, Storytime::Comment.new] do |f| %>
    <%= f.input :content %>
    <%= f.button :submit %>
  <% end %>
<% else %>
  <div class="alert alert-info" role="alert">
    <%= link_to "Sign in", main_app.new_user_session_url %> to comment.
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
storytime-1.2.0 app/views/storytime/comments/_form.html.erb
storytime-1.1.1 app/views/storytime/comments/_form.html.erb
storytime-1.0.7 app/views/storytime/comments/_form.html.erb
storytime-1.0.6 app/views/storytime/comments/_form.html.erb
storytime-1.0.5 app/views/storytime/comments/_form.html.erb
storytime-1.0.2 app/views/storytime/comments/_form.html.erb
storytime-1.0.1 app/views/storytime/comments/_form.html.erb
storytime-1.0.0 app/views/storytime/comments/_form.html.erb
storytime-0.0.4 app/views/storytime/comments/_form.html.erb
storytime-0.0.2 app/views/storytime/comments/_form.html.erb