cleaned up, added threadreplies, added info
This commit is contained in:
6
app/views/info/new.html.erb
Normal file
6
app/views/info/new.html.erb
Normal file
@@ -0,0 +1,6 @@
|
||||
<h1>New Info</h1>
|
||||
<%= form_for @info, url: info_index_path do |f|%>
|
||||
<%= f.text_field :title, placeholder: "Title" %>
|
||||
<%= f.text_area :content, placeholder: "Text", input_html: {class: "full-width vertical"} %>
|
||||
<p><%= f.submit "Create Info", class: "btn blue left" %></p>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user