app/views/phcpress/news/posts/_form.html.erb in phcpress-1.0.0 vs app/views/phcpress/news/posts/_form.html.erb in phcpress-2.0.0

- old
+ new

@@ -1,7 +1,11 @@ <div class="row"> <%= form_for(@news_post, :html => {:multipart => true}) do |f| %> + + <!-- PHC-Notifi Render Validation --> + <%= render 'layouts/phcnotifi/components/validations', :object => @news_post %> + <div class="col-md-3"> <div class="panel panel-default"> <div class="panel-heading"> <i class="fa fa-paper-plane-o"></i> Publish Panel </div> @@ -47,7 +51,8 @@ <%= f.text_area :newspstexcerpts, class: "form-control" %> </div> </div> </div> </div> + <% end %> </div>