|
<%= simple_form_for(@blog_post) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :title %>
<%= f.input :slug %>
<%= f.input :description %>
<%= f.input :content, class: 'summernote', id: 'post_content' %>
<%= f.input :published %>
</div>
<div class="form-actions">
<%= f.button :submit %>
</div>
<% end %>
|