Archived
page titles
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<% title "Edit News: #{@post.title}" %>
|
||||
|
||||
<h1>Edit post</h1>
|
||||
<%= form_for @post do |f|%>
|
||||
<%= f.text_field :title %>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% title "News" %>
|
||||
|
||||
<h1>News</h1>
|
||||
<%= link_to 'Make new Post', new_blogpost_path, class: "btn blue" if mod? %>
|
||||
<div id="posts">
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% title "New Blog Post" %>
|
||||
|
||||
<h1>New Post</h1>
|
||||
<%= form_for @post do |f|%>
|
||||
<%= f.text_field :title, placeholder: "Title" %>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% title "#{@post.title}" %>
|
||||
|
||||
<%= link_to "News", blogposts_path %> → <%= link_to @post.title %>
|
||||
<div class="item-group post with-avatar" id="post-<%= @post.id %>">
|
||||
<div class="header">
|
||||
|
||||
Reference in New Issue
Block a user