Sha256: 40825020baca6455af8645f91d34354304f9e18b58c190a3cd82acad649b70a4

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 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">
    <%= f.submit %>
  </div>
<div style="clear: both">
  <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} -%>
</div>
  <%- 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 %>
  </ul>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_leaf-1.1.0.rc15 app/views/my_accounts/edit.html.erb
enju_leaf-1.1.0.rc14 app/views/my_accounts/edit.html.erb
enju_leaf-1.1.0.rc13 app/views/my_accounts/edit.html.erb