Sha256: 0f8d32caa343b0d388ac475d3da7e98e1b63fa0a69aa4f89b2372278bddbf240

Contents?: true

Size: 1.02 KB

Versions: 61

Compression:

Stored size: 1.02 KB

Contents

<%= render 'backend/general_form_error', object: @admin %>

<%= simple_form_for [:backend, @admin] do |f| %>
  <div class="row">
    <div class="col-md-6">
      <div class="card">
        <div class="card-header">
          <%= t 'b.msg.admins.personal_details' %>
        </div>

        <div class="card-block">
          <%= f.input :locale, collection: Udongo.config.i18n.cms.interface_locales, include_blank: false %>
          <%= f.input :first_name %>
          <%= f.input :last_name %>
          <%= f.input :email, required: true %>
        </div>
      </div>
    </div>

    <div class="col-md-6">
      <div class="card">
        <div class="card-header">
          <%= t 'b.msg.admins.account_details' %>
        </div>

        <div class="card-block">
          <%= f.input :password, required: password_required? %>
          <%= f.input :password_confirmation, required: password_required? %>
        </div>
      </div>
    </div>
  </div>

  <%= render 'backend/form_actions', cancel_url: backend_admins_path %>
<% end %>

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
udongo-7.9.0 app/views/backend/admins/_form.html.erb
udongo-7.8.1 app/views/backend/admins/_form.html.erb
udongo-7.8.0 app/views/backend/admins/_form.html.erb
udongo-7.7.2 app/views/backend/admins/_form.html.erb
udongo-7.7.1 app/views/backend/admins/_form.html.erb
udongo-7.7.0 app/views/backend/admins/_form.html.erb
udongo-7.6.2 app/views/backend/admins/_form.html.erb
udongo-7.6.1 app/views/backend/admins/_form.html.erb
udongo-7.6.0 app/views/backend/admins/_form.html.erb
udongo-7.5.1 app/views/backend/admins/_form.html.erb
udongo-7.5.0 app/views/backend/admins/_form.html.erb
udongo-7.4.2 app/views/backend/admins/_form.html.erb
udongo-7.4.1 app/views/backend/admins/_form.html.erb
udongo-7.4.0 app/views/backend/admins/_form.html.erb
udongo-7.3.5 app/views/backend/admins/_form.html.erb
udongo-7.3.4 app/views/backend/admins/_form.html.erb
udongo-7.3.3 app/views/backend/admins/_form.html.erb
udongo-7.3.2 app/views/backend/admins/_form.html.erb
udongo-7.3.1 app/views/backend/admins/_form.html.erb
udongo-7.2.1 app/views/backend/admins/_form.html.erb