Sha256: 334e2b5273fd9d648dea555536e3f6a5744e2f316a1ab41864c84eb222b06a3e

Contents?: true

Size: 1.34 KB

Versions: 5

Compression:

Stored size: 1.34 KB

Contents

<fieldset>
  <legend>User Details</legend>
<ol>
<li><%=f.label :login, :required=>true%>
  <%=f.text_field :login,:title => "",:size=>25%>
  <%=error_message_on "user","login"%>
</li>
<li><%=f.label :email%>
  <%=f.text_field :email, :title => "",:size => 25%>
  <%=error_message_on "user","email"%>
</li>
<li><%=f.label :first_name%>
  <%=f.text_field :first_name, :title => "",:size => 25%>
  <%=error_message_on "user","first_name"%>
</li>
<li><%=f.label :last_name%>
  <%=f.text_field :last_name, :title => "",:size => 25%>
  <%=error_message_on "user","last_name"%>
</li>

</ol>
</fieldset>
<fieldset>
  <legend>Credentials</legend>
<ol>
<li><%=f.label :password%>
  <%=f.password_field :password, :title => "",:size => 25%>
  <%=error_message_on "user","password"%>
</li>
<li><%=f.label :password_confirmation,"Confirm"%>
  <%=f.password_field :password_confirmation, :title => "",:size => 25%>
  <%=error_message_on "user","password_confirmation"%>
</li>
<li><%=f.label :super_admin,"Super Admin"%>
  <%=f.check_box :super_admin, :title => ""%>
</li>
</ol>
</fieldset>
<fieldset>
  <legend>Permissions</legend>
  <ol>
    <%=f.fields_for :spud_admin_permissions do |builder|%>

      <li>
      <%=builder.hidden_field :name%>
      <%=builder.label :access,builder.object.name%>
        <%=builder.check_box :access%>
      </li>
    <%end%>
  </ol>
</fieldset>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
spud_core-0.5.2 app/views/spud/admin/users/_form.html.erb
spud_core-0.5.1 app/views/spud/admin/users/_form.html.erb
spud_core-0.5.0 app/views/spud/admin/users/_form.html.erb
spud_core-0.4.0 app/views/spud/admin/users/_form.html.erb
spud_admin-0.2.0 app/views/spud/admin/users/_form.html.erb