10 lines
338 B
Plaintext
10 lines
338 B
Plaintext
<% title "New Info" %>
|
|
|
|
<h1>New Info</h1>
|
|
<%= 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} %>
|
|
<p><%= f.submit "Create Info", class: "btn blue left" %></p>
|
|
<div class="clear"></div>
|
|
<% end %>
|