diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-21 20:18:16 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-22 00:02:50 +0100 |
commit | 18ed88c7e3c789366f6e5443dc4ee0bc981a4b88 (patch) | |
tree | 847f179022a2c69c1b641fcb2aa474f168877649 /app/views/phone_book_entries | |
parent | 495bbfdf78206c8adaec057e83900dda6754092c (diff) |
Started the migration to Twitter Bootstrap.
Diffstat (limited to 'app/views/phone_book_entries')
-rw-r--r-- | app/views/phone_book_entries/_index_core.de.html.haml | 2 | ||||
-rw-r--r-- | app/views/phone_book_entries/_index_core.html.haml | 2 | ||||
-rw-r--r-- | app/views/phone_book_entries/edit.html.haml | 2 | ||||
-rw-r--r-- | app/views/phone_book_entries/index.html.haml | 2 | ||||
-rw-r--r-- | app/views/phone_book_entries/new.html.haml | 2 | ||||
-rw-r--r-- | app/views/phone_book_entries/show.html.haml | 2 | ||||
-rw-r--r-- | app/views/phone_book_entries/show.html.haml.examlple | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/app/views/phone_book_entries/_index_core.de.html.haml b/app/views/phone_book_entries/_index_core.de.html.haml index 43d62f6..bc8d118 100644 --- a/app/views/phone_book_entries/_index_core.de.html.haml +++ b/app/views/phone_book_entries/_index_core.de.html.haml @@ -4,7 +4,7 @@ .content - cache(['phone_book_entries_table', I18n.locale, current_user, phone_book_entries]) do - reset_cycle - %table + %table{:class => 'table table-striped'} - for entry in phone_book_entries - cache(['phone_book_entries_table_tr', I18n.locale, current_user, entry]) do ~# Dear IE7, diff --git a/app/views/phone_book_entries/_index_core.html.haml b/app/views/phone_book_entries/_index_core.html.haml index e98e8d5..0e687f9 100644 --- a/app/views/phone_book_entries/_index_core.html.haml +++ b/app/views/phone_book_entries/_index_core.html.haml @@ -5,7 +5,7 @@ - cache(['phone_book_entries_table', I18n.locale, current_user, phone_book_entries]) do - reset_cycle - reset_cycle - %table + %table{:class => 'table table-striped'} - for entry in phone_book_entries - cache(['phone_book_entries_table_tr', I18n.locale, current_user, entry]) do ~# Dear IE7, diff --git a/app/views/phone_book_entries/edit.html.haml b/app/views/phone_book_entries/edit.html.haml index d4fad4d..2967366 100644 --- a/app/views/phone_book_entries/edit.html.haml +++ b/app/views/phone_book_entries/edit.html.haml @@ -1,4 +1,4 @@ -- title t("phone_book_entries.edit.page_title") +- content_for :title, t("phone_book_entries.edit.page_title") = render "form" diff --git a/app/views/phone_book_entries/index.html.haml b/app/views/phone_book_entries/index.html.haml index 6a17eb9..10d1ce2 100644 --- a/app/views/phone_book_entries/index.html.haml +++ b/app/views/phone_book_entries/index.html.haml @@ -1,4 +1,4 @@ -- title t("phone_book_entries.index.page_title") +- content_for :title, t("phone_book_entries.index.page_title") - if @phone_books %p diff --git a/app/views/phone_book_entries/new.html.haml b/app/views/phone_book_entries/new.html.haml index d72d1a4..2f3a8be 100644 --- a/app/views/phone_book_entries/new.html.haml +++ b/app/views/phone_book_entries/new.html.haml @@ -1,3 +1,3 @@ -- title t("phone_book_entries.new.page_title") +- content_for :title, t("phone_book_entries.new.page_title") = render "form" diff --git a/app/views/phone_book_entries/show.html.haml b/app/views/phone_book_entries/show.html.haml index ff43b8a..7dd9bcb 100644 --- a/app/views/phone_book_entries/show.html.haml +++ b/app/views/phone_book_entries/show.html.haml @@ -1,4 +1,4 @@ -- title nil +- content_for :title, nil %section.phone-book-entry .content diff --git a/app/views/phone_book_entries/show.html.haml.examlple b/app/views/phone_book_entries/show.html.haml.examlple index 176ad04..980f776 100644 --- a/app/views/phone_book_entries/show.html.haml.examlple +++ b/app/views/phone_book_entries/show.html.haml.examlple @@ -1,4 +1,4 @@ -- title nil +- content_for :title, nil %section.phone-book-entry .content |