<%= stylesheet_link_tag 'select2' %>
<% if @all_page.errors.any? %> <%= raw errors_to_html(@all_page.errors) %> <% end %>
<%= text_field :all_page, :name, class: "form-control", placeholder: 'Nazwa' %>
<%= text_field :all_page, :title, class: "form-control", placeholder: 'Tytuł' %>
<%= text_area :all_page, :small_text, :class => "form-control" %>
<%= text_area :all_page, :full_text, :class => "summernote" %>
<% content_for :footer_scripts do %> <%= javascript_include_tag 'select2' %> <% end %>