[openstreetmap/openstreetmap-website] Add social profile links (PR #5439)
Anton Khorev
notifications at github.com
Fri Jan 31 10:01:56 UTC 2025
@AntonKhorev commented on this pull request.
> @@ -40,6 +40,21 @@
</div>
</fieldset>
+ <fieldset class="mb-3">
+ <legend><%= t ".social_links.legend" %></legend>
+ <div id="social_links">
+ <%= f.fields_for :social_links do |social_link_form| %>
+ <div class="social-link-fields row mb-3">
+ <%= social_link_form.text_field :url, :hide_label => true, :wrapper_class => "col-sm-8" %>
+ <%= social_link_form.check_box :_destroy, :wrapper_class => "d-none social_link_destroy" %>
+ <%= social_link_form.label :_destroy, t(".social_links.remove"), :class => "btn btn-outline-primary col-sm-1 align-self-start" %>
`col-sm-1` is too narrow
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5439#pullrequestreview-2586170091
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5439/review/2586170091 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250131/f097c31b/attachment.htm>
More information about the rails-dev
mailing list