Sha256: db93a30c4b3affbd34959909250d9c1587af928d5201686fc38d4efdfc494600

Contents?: true

Size: 1.09 KB

Versions: 39

Compression:

Stored size: 1.09 KB

Contents

<div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.edit_user_profile', login_name: @profile.user.username) -%></h1>
<div id="content_list">
<%= render 'page/required_field' %>
<%= simple_form_for(@profile, url: my_account_path) do |f| -%>
  <%= f.error_messages -%>

  <%= render partial: 'edit_credential', locals: {f: f, profile: @profile} -%>

  <div class="actions" style="clear: both">
    <%= f.submit %>
  </div>
  <div class="field">
    <%= f.label :keyword_list -%><br />
    <%= f.text_area :keyword_list, class: 'resource_textarea' -%>
  </div>

  <%= render partial: 'profiles/edit_profile', locals: {f: f, profile: @profile} -%>
<%- end -%>

</div>
</div>

<div id="submenu" class="ui-corner-all ui-widget-content">
  <ul>
    <li><%= link_to t('page.show'), my_account_path -%></li>
    <% if current_user.has_role?('Librarian') %>
      <li><%= link_to t('page.listing', model: t('activerecord.models.user')), profiles_path -%></li>
    <% end %>
    <li><%= link_to t('activerecord.models.registration'), edit_user_registration_path -%></li>
  </ul>
</div>

Version data entries

39 entries across 38 versions & 2 rubygems

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