From 9041f9cd7b10f91dafa10d96d9e0652bf5d8f522 Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Wed, 5 Dec 2012 15:34:21 +0800 Subject: [PATCH] make journal list easy to read --- app/views/desktop/journal_lists/_form.html.erb | 17 ----------------- app/views/desktop/journal_lists/edit.html.erb | 6 ------ app/views/desktop/journal_lists/new.html.erb | 5 ----- app/views/desktop/journal_lists/show.html.erb | 5 ----- 4 files changed, 33 deletions(-) delete mode 100644 app/views/desktop/journal_lists/_form.html.erb delete mode 100644 app/views/desktop/journal_lists/edit.html.erb delete mode 100644 app/views/desktop/journal_lists/new.html.erb delete mode 100644 app/views/desktop/journal_lists/show.html.erb diff --git a/app/views/desktop/journal_lists/_form.html.erb b/app/views/desktop/journal_lists/_form.html.erb deleted file mode 100644 index ac7f7ac6..00000000 --- a/app/views/desktop/journal_lists/_form.html.erb +++ /dev/null @@ -1,17 +0,0 @@ -<%= form_for(@desktop_journal_list) do |f| %> - <% if @desktop_journal_list.errors.any? %> -
-

<%= pluralize(@desktop_journal_list.errors.count, "error") %> prohibited this desktop_journal_list from being saved:

- - -
- <% end %> - -
- <%= f.submit %> -
-<% end %> diff --git a/app/views/desktop/journal_lists/edit.html.erb b/app/views/desktop/journal_lists/edit.html.erb deleted file mode 100644 index d628e895..00000000 --- a/app/views/desktop/journal_lists/edit.html.erb +++ /dev/null @@ -1,6 +0,0 @@ -

Editing desktop_journal_list

- -<%= render 'form' %> - -<%= link_to 'Show', @desktop_journal_list %> | -<%= link_to 'Back', desktop_journal_lists_path %> diff --git a/app/views/desktop/journal_lists/new.html.erb b/app/views/desktop/journal_lists/new.html.erb deleted file mode 100644 index 95017361..00000000 --- a/app/views/desktop/journal_lists/new.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -

New desktop_journal_list

- -<%= render 'form' %> - -<%= link_to 'Back', desktop_journal_lists_path %> diff --git a/app/views/desktop/journal_lists/show.html.erb b/app/views/desktop/journal_lists/show.html.erb deleted file mode 100644 index d454b78f..00000000 --- a/app/views/desktop/journal_lists/show.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -

<%= notice %>

- - -<%= link_to 'Edit', edit_desktop_journal_list_path(@desktop_journal_list) %> | -<%= link_to 'Back', desktop_journal_lists_path %>