Sha256: cb0256dfdb44f7a14770ffbe6c6d72971f41b3e2c33dbd1d476c60d497112cf7

Contents?: true

Size: 802 Bytes

Versions: 6

Compression:

Stored size: 802 Bytes

Contents

<%
  names = @user.attribute_names(true) - ["objectClass", "userPassword"]
  required_attributes = @user.must.collect(&:name)
%>

<h3><%= _("Update attributes") %></h3>

<table class="values form">
  <thead>
    <tr>
      <th><%= _("attribute name") %></th>
      <th><%= _("value") %></th>
      <th><%= _("description") %></th>
    </tr>
  </thead>

<% names.sort.each do |name| -%>
  <tr class="<%= cycle('even', 'odd') %>">
    <th scope="row">
      <label for="user_<%=h name %>"><%= h la_(name) %></label>
      <%= link_to("?", attribute_url_for_options(name)) %>
<%   if required_attributes.include?(name) -%>
      <span class="required-attribute-mark">*</span>
<%   end -%>
    </th>
    <td><%= text_field("user", name) %></td>
    <td><%= h lad_(name) %></td>
  </tr>
<% end -%>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activeldap-0.10.0 examples/al-admin/app/views/users/_attributes_update_form.html.erb
activeldap-0.9.0 examples/al-admin/app/views/users/_attributes_update_form.rhtml
activeldap-1.0.0 examples/al-admin/app/views/users/_attributes_update_form.html.erb
activeldap-1.0.1 examples/al-admin/app/views/users/_attributes_update_form.html.erb
activeldap-1.0.2 examples/al-admin/app/views/users/_attributes_update_form.html.erb
activeldap-1.0.9 examples/al-admin/app/views/users/_attributes_update_form.html.erb