myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2752] branches/rails2/app/views: turned openid/


From: noreply
Subject: [myexperiment-hackers] [2752] branches/rails2/app/views: turned openid/ new into a partial for rails 2 compatibility
Date: Mon, 24 Oct 2011 17:02:24 -0400 (EDT)

Revision
2752
Author
dgc
Date
2011-10-24 17:02:23 -0400 (Mon, 24 Oct 2011)

Log Message

turned openid/new into a partial for rails 2 compatibility

Modified Paths

Added Paths

Removed Paths

Diff

Copied: branches/rails2/app/views/openid/_new.rhtml (from rev 2737, branches/rails2/app/views/openid/new.rhtml) (0 => 2752)


--- branches/rails2/app/views/openid/_new.rhtml	                        (rev 0)
+++ branches/rails2/app/views/openid/_new.rhtml	2011-10-24 21:02:23 UTC (rev 2752)
@@ -0,0 +1,18 @@
+<p>
+  <b>Current OpenID:</b><br />
+  <p title="<%= tooltip_title_attrib(current_user.openid_url) %>" ><%= current_user.openid_url.blank? ? "<span class='none_text'>Not registered yet</span>" : truncate(h(current_user.openid_url), 30) %></P>
+	
+</p>
+
+<div id="myexp_login">
+  <% form_tag openid_path do %>
+  
+    <p>
+      <b>New OpenID:</b><br />
+      <%= text_field_tag 'openid_url', nil, :size => '30' %> 
+    </p>
+    
+    <%= submit_tag 'Validate', :disable_with => "Validating..." %>
+    <input type="submit" id="cancel_button" value="Return to your Profile"  user_path(current_user) -%>';return false;"/>
+  <% end %>
+</div>

Deleted: branches/rails2/app/views/openid/new.rhtml (2751 => 2752)


--- branches/rails2/app/views/openid/new.rhtml	2011-10-24 21:01:24 UTC (rev 2751)
+++ branches/rails2/app/views/openid/new.rhtml	2011-10-24 21:02:23 UTC (rev 2752)
@@ -1,18 +0,0 @@
-<p>
-  <b>Current OpenID:</b><br />
-  <p title="<%= tooltip_title_attrib(current_user.openid_url) %>" ><%= current_user.openid_url.blank? ? "<span class='none_text'>Not registered yet</span>" : truncate(h(current_user.openid_url), 30) %></P>
-	
-</p>
-
-<div id="myexp_login">
-  <% form_tag openid_path do %>
-  
-    <p>
-      <b>New OpenID:</b><br />
-      <%= text_field_tag 'openid_url', nil, :size => '30' %> 
-    </p>
-    
-    <%= submit_tag 'Validate', :disable_with => "Validating..." %>
-    <input type="submit" id="cancel_button" value="Return to your Profile"  user_path(current_user) -%>';return false;"/>
-  <% end %>
-</div>

Modified: branches/rails2/app/views/users/edit.rhtml (2751 => 2752)


--- branches/rails2/app/views/users/edit.rhtml	2011-10-24 21:01:24 UTC (rev 2751)
+++ branches/rails2/app/views/users/edit.rhtml	2011-10-24 21:02:23 UTC (rev 2752)
@@ -59,7 +59,7 @@
             <h2 style="width: 275px">OpenID account</h2>
 						<center>
 						<div style="width: 77%">
-            <%= render "openid/new" %>
+            <%= render :partial => "openid/new" %>
 						</div>
 						</center>
         </td>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]