Sha256: e2a58a47e3633350017139327e7ec8224de186875611adc6169ef1ad327f234b
Contents?: true
Size: 1.71 KB
Versions: 38
Compression:
Stored size: 1.71 KB
Contents
<% if defined?(EnjuCirculation) %> <div class="field"> <%= f.label t('user.checkout_history_icalendar_url') -%><br /> <div id="feed_token"> <%- if profile.checkout_icalendar_token? -%> <%= link_to checkouts_url(icalendar_token: profile.checkout_icalendar_token, format: :ics), checkouts_url(icalendar_token: profile.checkout_icalendar_token, format: :ics) -%> <%= f.hidden_field :checkout_icalendar_token -%> <%- end -%> <br /> <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_profile_path(profile, mode: 'feed_token') %>'});" type="button" value="<%= t('page.reset') %>" /> <input onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#feed_token').html(request);}, type:'get', url:'<%= edit_profile_path(profile, disable: true, mode: 'feed_token') %>'});" type="button" value="<%= t('page.delete') %>" /> </div> <br /> </div> <% end %> <% if defined?(EnjuSearchLog) %> <div class="field"> <%= f.label :save_search_history %> <%= f.check_box :save_search_history %> </div> <% end %> <% if defined?(EnjuCirculation) %> <div class="field"> <%= f.label :save_checkout_history %> <%= f.check_box :save_checkout_history %> </div> <% end %> <% if current_user.has_role?('Librarian') %> <div class="field"> <%= f.label :note -%><br /> <%= f.text_area :note, class: 'resource_textarea' -%> </div> <% end %> <div class="actions"> <%= f.submit %> </div>
Version data entries
38 entries across 37 versions & 2 rubygems