forked from ifunam/salva
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Helpers for shared/_record partial added
- Loading branch information
juarlex
committed
Oct 28, 2011
1 parent
c40a414
commit e42fa71
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
%div{:class => 'span-23 last record_details' } | ||
.record_details | ||
%b= 'Información adicional' | ||
%br | ||
= registered_by_info(record) | ||
%br | ||
= 'Registrado por: ' + ( record.registered_by.nil? ? 'admin' : record.registered_by.friendly_email) | ||
= modified_by_info(record) | ||
%br | ||
= 'Modificado por: ' + ( record.modified_by.nil? ? '' : record.modified_by.friendly_email) | ||
%br | ||
= 'Fecha de actualización: ' + ( record.updated_on.to_s (:long)) if record.respond_to? :update_on | ||
= updating_date(record) |