[openstreetmap/openstreetmap-website] Separate forms for preferences and profile (#3257)
Tom Hughes
notifications at github.com
Wed Jul 21 10:18:48 UTC 2021
@tomhughes commented on this pull request.
> @@ -165,6 +165,12 @@
<div class="user-description richtext text-break"><%= @user.description.to_html %></div>
+ <% if current_user and @user.id == current_user.id %>
+ <div class="my-3">
+ <%= link_to t(".edit_profile"), edit_profile_path, :class => "btn btn-outline-primary" %>
Sounds reasonable to me...
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3257#discussion_r673848047
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210721/ce02264f/attachment.htm>
More information about the rails-dev
mailing list