Sha256: d894f8e4609327287b889d47629bb5221f4c30d94f4f9e2fa68b813cc6cdeb7c

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

<%= content_for :head do %>
  <script type="text/javascript">
    $(document).ready(function() {
      $('#blog_comment_content').focus();
    })
  </script>
<% end %>  

<div id='form_blocks'>
  <%= form.text_field :name %>
  <%= form.text_field :email %>
  <%= form.text_area :content %>
</div>


<%= form.simple_field nil, nil, :class => 'submit_element' do %>
  <%= form.check_box :approved, :disable_builder => true %>
  <%= form.label_for :approved, :label => 'Approved' %>
  <%= form.submit @blog_post.new_record?? 'Create comment' : 'Update comment', :disable_builder => true %>
  or
  <%= link_to 'cancel', :back%>
<% end %>

  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sofa_blog-0.0.1 app/views/cms_admin/blog_comments/_form.html.erb