Archived
page titles
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<% title "Edit Info: #{@info.title}" %>
|
||||
|
||||
<h1>Edit Info</h1>
|
||||
<%= form_for @info do |f|%>
|
||||
<%= f.text_field :title%>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% title "Info" %>
|
||||
|
||||
<h1>Info</h1>
|
||||
<% if mod? %>
|
||||
<%= link_to "New Info", new_info_path, class: "btn blue" %>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% title "New Info" %>
|
||||
|
||||
<h1>New Info</h1>
|
||||
<%= form_for @info, url: info_index_path do |f|%>
|
||||
<%= f.text_field :title, placeholder: "Title" %>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% title @info.title %>
|
||||
|
||||
<%= link_to "Info", info_index_path %> → <%= @info.title %>
|
||||
<%= link_to "Edit Info", edit_info_path(@info), class: "btn blue right" %>
|
||||
<div class="clear"></div>
|
||||
|
||||
Reference in New Issue
Block a user