shift73k/lib/shift73k_web/live/user/settings/calendar_url.html.leex

11 lines
328 B
Text

<div id="<%= @id %>" class="col-12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-6 mt-1">
<h3>Calendar URL</h3>
<p><%= @current_user.calendar_slug %></p>
<%= form_for :calendar_slug, "#", [phx_submit: :save, phx_target: @myself], fn csf -> %>
<%= submit "Generate new", class: "btn btn-primary" %>
<% end %>
</div>