Sha256: bb36c48d542bb529ccae19971974954921a86e3d77f04b8875a4835e846076b3

Contents?: true

Size: 540 Bytes

Versions: 9

Compression:

Stored size: 540 Bytes

Contents

<div id='content-<%= article.id %>'>
  <p>This post is password protected. Please fill in your password or login to view the content</p>
  <%= form_for(article, {:remote => true,
                      :url => { :controller => 'articles', :action => 'check_password'},
                      :update => "content-#{article.id}"}) do |f| %>
    <%= password_field(:article, :password) %>
    <input type='hidden' name='article[id]' value='<%= article.id %>'>
    <%= submit_tag(t('.submit') + '!', name: 'check_password') %>
  <% end %>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
publify_core-9.1.0 app/views/articles/_password_form.html.erb
publify_core-9.0.1 app/views/articles/_password_form.html.erb
publify_core-9.0.0 app/views/articles/_password_form.html.erb
publify_core-9.0.0.pre6 app/views/articles/_password_form.html.erb
publify_core-9.0.0.pre5 app/views/articles/_password_form.html.erb
publify_core-9.0.0.pre4 app/views/articles/_password_form.html.erb
publify_core-9.0.0.pre3 app/views/articles/_password_form.html.erb
publify_core-9.0.0.pre2 app/views/articles/_password_form.html.erb
publify_core-9.0.0.pre1 app/views/articles/_password_form.html.erb