From 152e9d6c6e509fdb2534ef1251afd785a10f89e3 Mon Sep 17 00:00:00 2001 From: Jakub Tesinsky Date: Thu, 4 Dec 2008 04:41:35 +0100 Subject: [PATCH] Refactoring changes to leave out unnecessary formatting. --- app/views/login/login.html.erb | 24 ++++++++++++------------ app/views/todos/_edit_mobile.rhtml | 6 ++---- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/app/views/login/login.html.erb b/app/views/login/login.html.erb index 317b7d69..039fdc59 100644 --- a/app/views/login/login.html.erb +++ b/app/views/login/login.html.erb @@ -14,19 +14,19 @@ <% form_tag :action=> 'login' do %> - - + + - - + + - - + + - +
@@ -39,15 +39,15 @@ <% form_tag :action=> 'login', :action => 'begin' do %> - - + + - - + + - +
diff --git a/app/views/todos/_edit_mobile.rhtml b/app/views/todos/_edit_mobile.rhtml index 4bf4d9ea..ef1de808 100644 --- a/app/views/todos/_edit_mobile.rhtml +++ b/app/views/todos/_edit_mobile.rhtml @@ -3,10 +3,8 @@ <%= error_messages_for("todo") %> -<% - this_year = user_time.to_date.strftime("%Y").to_i - if parent_container_type == 'show_mobile' --%> +<% this_year = user_time.to_date.strftime("%Y").to_i +if parent_container_type == 'show_mobile' -%>

 <%= check_box_tag("done", 1, @todo && @todo.completed?, "tabindex" => 1) %>

<% end -%>