[Jifty-commit] r6166 - wifty/trunk/lib/Wifty
Jifty commits
jifty-commit at lists.jifty.org
Fri Dec 19 19:42:06 EST 2008
Author: ruz
Date: Fri Dec 19 19:42:06 2008
New Revision: 6166
Modified:
wifty/trunk/lib/Wifty/View.pm
Log:
* 'attr is ...' inside 'attr {}' makes no sense, prefer attr
* add back style="wifth: 70%"
Modified: wifty/trunk/lib/Wifty/View.pm
==============================================================================
--- wifty/trunk/lib/Wifty/View.pm (original)
+++ wifty/trunk/lib/Wifty/View.pm Fri Dec 19 19:42:06 2008
@@ -29,9 +29,9 @@
show('markup');
- form { div { attr { class is 'form_wrapper' };
- div { attr { class is 'inline' };
- unless ( $can_edit ) { p {
+ form { div { attr { class => 'form_wrapper' };
+ div { attr { class => 'inline' };
+ unless ( $can_edit ) { p { attr { style => "width: 70%" };
outs(_("You don't have permission to edit this page."));
outs(' '. _("Perhaps logging in would help."));
outs(' '. _("In the mean time, though, you're welcome to view and copy the source of this page."). ' ');
@@ -41,7 +41,7 @@
render_action $viewer, ['content'];
};
if ( $can_edit ) {
- div { attr { class is 'line' };
+ div { attr { class => 'line' };
form_submit label => _('Save')
}
}
@@ -57,7 +57,7 @@
div {
show('markup');
- form { div { attr { class is 'form_wrapper' };
+ form { div { attr { class => 'form_wrapper' };
form_next_page url => '/view/' . $page;
render_param $action, 'name',
render_as => 'hidden',
More information about the Jifty-commit
mailing list