Sha256: 002bf814b8d61f798035ecac77d6d0b3e10a09e0161e548a0fcaae58cf3b9916

Contents?: true

Size: 1.14 KB

Versions: 13

Compression:

Stored size: 1.14 KB

Contents

<div class='container-fluid'>
  <div class='row'>
      <div class='col-md-12'>
        <h3 class='pt-4'><%= t('.title') %></h3>

        <%= bootstrap_form_for(current_user, as: :user, url: self_update_users_path,
          layout: :horizontal, label_col: 'col-sm-2', control_col: 'col-sm-10') do |f| %>
          <%= f.text_field :fullname %>
          <% if current_user.provider.nil? %>
          <%= f.email_field :email %>
            <fieldset>
              <legend>Password</legend>
              <%= f.password_field :password %>
              <%= f.password_field :password_confirmation %>
            </fieldset>
          <% else %>
            <%= f.email_field :email, disabled: true %>
          <% end %>

          <div class='form-group row'>
            <div class='col-sm-2'></div>
            <div class='col-sm-10'>
              <%= f.submit t('.submit'), class: 'btn btn-primary' %>
              <%= link_to self_show_users_path, class: 'btn btn-link pull-right' do %>
                <%= icon :fas, :times, t('chaltron.common.cancel') %>
              <% end %>
            </div>
          </div>

      <% end %>
    </div>
  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
chaltron-2.0.2 app/views/chaltron/users/self_edit.html.erb
chaltron-2.0.1 app/views/chaltron/users/self_edit.html.erb
chaltron-2.0.0 app/views/chaltron/users/self_edit.html.erb
chaltron-1.1.7 app/views/chaltron/users/self_edit.html.erb
chaltron-1.1.6 app/views/chaltron/users/self_edit.html.erb
chaltron-1.1.5 app/views/chaltron/users/self_edit.html.erb
chaltron-1.1.4 app/views/chaltron/users/self_edit.html.erb
chaltron-1.1.3 app/views/chaltron/users/self_edit.html.erb
chaltron-1.1.2 app/views/chaltron/users/self_edit.html.erb
chaltron-1.1.1 app/views/chaltron/users/self_edit.html.erb
chaltron-1.1.0 app/views/chaltron/users/self_edit.html.erb
chaltron-1.0.10 app/views/chaltron/users/self_edit.html.erb
chaltron-1.0.9 app/views/chaltron/users/self_edit.html.erb