aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/user/set_profile_photo.rhtml (renamed from app/views/user/profile_photo.rhtml)6
-rw-r--r--app/views/user/show.rhtml2
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/user/profile_photo.rhtml b/app/views/user/set_profile_photo.rhtml
index b3daafd4c..67647b260 100644
--- a/app/views/user/profile_photo.rhtml
+++ b/app/views/user/set_profile_photo.rhtml
@@ -4,11 +4,11 @@
<h2>Change your profile photo</h2>
-<%= foi_error_messages_for :profile_photo %>
+<%= foi_error_messages_for :set_profile_photo %>
-<div id="profile_photo">
+<div id="set_profile_photo">
-<% form_tag 'profile_photo', :id => 'profile_photo_form', :multipart => true do %>
+<% form_tag 'set_profile_photo', :id => 'set_profile_photo_form', :multipart => true do %>
<p>
<label class="form_label" for="file_1">Photo of you:</label>
<%= file_field_tag :file, :size => 35, :id => 'file_1' %>
diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml
index 47a012f0f..daee89eaa 100644
--- a/app/views/user/show.rhtml
+++ b/app/views/user/show.rhtml
@@ -52,7 +52,7 @@
(just to see how it works)
<br><%= link_to "Change your password", signchangepassword_url() %> |
<%= link_to "Change your email", signchangeemail_url() %> |
- <%= link_to "Set profile photo", profile_photo_url() %>
+ <%= link_to "Set profile photo", set_profile_photo_url() %>
<% end %>
</p>