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

Version Path
enju_seed-0.3.6 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.5 app/views/profiles/_edit_profile.html.erb
enju_seed-0.4.0.rc.2 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.4 app/views/profiles/_edit_profile.html.erb
enju_seed-0.4.0.rc.1 app/views/profiles/_edit_profile.html.erb
enju_seed-0.4.0.beta.3 app/views/profiles/_edit_profile.html.erb
enju_seed-0.5.0.beta.1 app/views/profiles/_edit_profile.html.erb
enju_seed-0.4.0.beta.2 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.3 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.2 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.1 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.0 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.0.rc.1 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.0.beta.7 app/views/profiles/_edit_profile.html.erb
enju_seed-0.4.0.beta.1 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.0.beta.6 app/views/profiles/_edit_profile.html.erb
enju_seed-0.2.3 app/views/profiles/_edit_profile.html.erb
enju_seed-0.3.0.beta.4 app/views/profiles/_edit_profile.html.erb
enju_seed-0.2.2 app/views/profiles/_edit_profile.html.erb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/enju_seed-0.2.0/app/views/profiles/_edit_profile.html.erb