Sha256: 546a42aa9909d475aaa9e415edb9ac68f8a3f67aed3187024779f6b58701a9c5
Contents?: true
Size: 1.03 KB
Versions: 6
Compression:
Stored size: 1.03 KB
Contents
<%- if @user.checkout_icalendar_token? -%> <%= checkouts_url(icalendar_token: @user.checkout_icalendar_token, format: :ics) -%> <%= hidden_field_tag 'user[checkout_icalendar_token]', @user.checkout_icalendar_token -%> <%- end -%> <br /> <%- if @user.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
6 entries across 6 versions & 1 rubygems