<% title "New Info" %>

New Info

<%= form_for @info, url: info_index_path do |f|%> <%= f.text_field :title, placeholder: "Title" %> <%= render partial: "md_editor", locals: {name: "info[content]", content: @info.content} %>

<%= f.submit "Create Info", class: "btn blue left" %>

<% end %>