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>