Sha256: 663c2bb184cad5c215f4cca4db2a4f63ec4ccb7c6eee478ba527bc9e9d3f660d

Contents?: true

Size: 530 Bytes

Versions: 18

Compression:

Stored size: 530 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

18 entries across 18 versions & 2 rubygems

Version Path
HornsAndHooves-publify_core-10.5.0 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.4.0 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.3.0 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.2.0 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.1.1 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.1.0 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.0.3 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.0.2 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.0.1 app/views/articles/_password_form.html.erb
HornsAndHooves-publify_core-10.0.0 app/views/articles/_password_form.html.erb
publify_core-9.2.7 app/views/articles/_password_form.html.erb
publify_core-9.2.6 app/views/articles/_password_form.html.erb
publify_core-9.2.5 app/views/articles/_password_form.html.erb
publify_core-9.2.4 app/views/articles/_password_form.html.erb
publify_core-9.2.3 app/views/articles/_password_form.html.erb
publify_core-9.2.2 app/views/articles/_password_form.html.erb
publify_core-9.2.1 app/views/articles/_password_form.html.erb
publify_core-9.2.0 app/views/articles/_password_form.html.erb