Sha256: 2580f2a37a32e38b47524836b3dc1bc014c8a07ba35b1f9f34ac037b7f0dce2f
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
<%= error_messages_for f.object %> <fieldset> <legend>User Details</legend> <% if !Spud::Core.config.use_email_as_login %> <div class="control-group"> <%= f.label :login, :required => true, :class => "control-label" %> <div class="controls"> <%= f.text_field :login, :size => 25, :autocomplete => 'username' %> </div> </div> <% end %> <div class="control-group"> <%=f.label :email,:class=>"control-label"%> <div class="controls"> <%=f.text_field :email, :title => "",:size => 25%> </div> </div> <div class="control-group"> <%=f.label :first_name,:class=>"control-label"%> <div class="controls"> <%=f.text_field :first_name, :title => "",:size => 25%> </div> </div> <div class="control-group"> <%=f.label :last_name,:class=>"control-label"%> <div class="controls"> <%=f.text_field :last_name, :title => "",:size => 25%> </div> </div> <div class="control-group"> <%=f.label :time_zone,:class => "control-label"%> <div class="controls"> <%=f.time_zone_select :time_zone,ActiveSupport::TimeZone.us_zones,:default => Rails.application.config.time_zone%> </div> </div> </fieldset> <fieldset> <legend>Credentials</legend> <div class="control-group"> <%= f.label :password,:class=>"control-label" %> <div class="controls"> <%= f.password_field :password, :size => 25, :autocomplete => 'new-password' %> <p class="help-block">Password must be at least 8 characters</p> </div> </div> <div class="control-group"> <%= f.label :password_confirmation,"Confirm",:class=>"control-label" %> <div class="controls"> <%= f.password_field :password_confirmation, :size => 25, :autocomplete => 'new-password' %> <p class="help-block">Retype your password here.</p> </div> </div> </fieldset>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tb_core-1.2.8 | app/views/admin/settings/_form.html.erb |