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