Pages

1
2
3
4
5
6
7
8
9
10
11
12
13
<div contents data-controller="dialog">
<button type="button" class="btn" data-action="dialog#showModal">Open sheet</button>
<dialog class="sheet sheet--right" data-dialog-target="menu" data-action="click->dialog#closeOnClickOutside" aria-label="Edit profile">
<button type="button" class="btn btn--plain sheet__close" data-action="click->dialog#close">
<%= image_tag "x.svg", size: 16, aria: { hidden: true } %>
<span class="sr-only">Close</span>
</button>
<div class="sheet__content">
<%= render "profile_form" %>
</div>
</dialog>
</div>