make journal list easy to read

This commit is contained in:
Rueshyna 2012-12-05 15:34:21 +08:00 committed by chris
parent 05027afa63
commit 6c33d353ba
4 changed files with 0 additions and 33 deletions

View File

@ -1,17 +0,0 @@
<%= form_for(@desktop_journal_list) do |f| %>
<% if @desktop_journal_list.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@desktop_journal_list.errors.count, "error") %> prohibited this desktop_journal_list from being saved:</h2>
<ul>
<% @desktop_journal_list.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
<div class="actions">
<%= f.submit %>
</div>
<% end %>

View File

@ -1,6 +0,0 @@
<h1>Editing desktop_journal_list</h1>
<%= render 'form' %>
<%= link_to 'Show', @desktop_journal_list %> |
<%= link_to 'Back', desktop_journal_lists_path %>

View File

@ -1,5 +0,0 @@
<h1>New desktop_journal_list</h1>
<%= render 'form' %>
<%= link_to 'Back', desktop_journal_lists_path %>

View File

@ -1,5 +0,0 @@
<p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_desktop_journal_list_path(@desktop_journal_list) %> |
<%= link_to 'Back', desktop_journal_lists_path %>