ref: refs/heads/master
commit 4e3758db2f8ca694c59bc873fb3e9bc8fddaffb4
Author: Ladislav Slezak
Date: Fri Jul 24 12:56:53 2009 +0200
Time plugin - display date picker widget
---
.../systemtime/app/views/system_time/index.rhtml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/plugins/systemtime/app/views/system_time/index.rhtml b/plugins/systemtime/app/views/system_time/index.rhtml
index 00fc579..57cdf1d 100644
--- a/plugins/systemtime/app/views/system_time/index.rhtml
+++ b/plugins/systemtime/app/views/system_time/index.rhtml
@@ -1,4 +1,6 @@
<% if @permissions %>
+ <link rel="stylesheet" href="/inc/smoothness/jquery.ui.custom.css" type="text/css" media="screen" title="default" charset="utf-8" />
+
<% javascript_tag do -%>
$(document).ready( function() {
$(".datepicker").datepicker( { dateFormat: 'dd/mm/yy'} );
@@ -80,8 +82,8 @@
</label>
</td>
<td>
- <%= text_field "date","date", :class => :datepicker,
- :disabled=> disabled, :value => @date, :class=>'aligned-inputs'
+ <%= text_field "date","date", :class => 'datepicker aligned-inputs',
+ :disabled=> disabled, :value => @date
%>
</td>
</tr>
--
To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org
For additional commands, e-mail: yast-commit+help@opensuse.org