Sha256: 8a54092e096ee5b31888b8914a91c83e05e520aa8d923531abf88d7a12474f43
Contents?: true
Size: 1.08 KB
Versions: 5
Compression:
Stored size: 1.08 KB
Contents
<%- if @user.profile.try(:checkout_icalendar_token?) -%> <%= checkouts_url(icalendar_token: @user.profile.checkout_icalendar_token, format: :ics) -%> <%= hidden_field_tag 'user.profile.checkout_icalendar_token]', @user.profile.checkout_icalendar_token -%> <%- end -%> <br /> <%- if @user.profile.try(:checkout_icalendar_token?) -%> <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_user_path(@user, disable: true, mode: 'feed_token') %>'});" type="button" value="<%= t('page.delete') %>" /> <br /> <%= t('user.you_have_to_save_profile_to_activate_feed_url') -%> <%- else -%> <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_user_path(@user, mode: 'feed_token') %>'});" type="button" value="<%= t('page.reset') %>" /> <br /> <%= t('user.you_have_to_save_profile_to_deactivate_feed_url') -%> <%- end -%>
Version data entries
5 entries across 5 versions & 1 rubygems