Sha256: 4c095ebfa3bae7f55f13cba2af430fdccbb02d0eaccc391ba13615518b45a5e7

Contents?: true

Size: 1.39 KB

Versions: 16

Compression:

Stored size: 1.39 KB

Contents

- content_for :title, "#{@user.name_was} « Users"
- content_for :content_title, 'Edit User'

- content_for :breadcrumb do
  ol.breadcrumb
    li= link_to raw('<i class="fa fa-users"></i> Users'), users_path
    li= link_to 'Details', user_path(@user)
    li.active Edit User

.row
  .col-md-12
    .box
      = form_for @user, method: :put do |form|
        .box-header
          h2.box-title ##{@user.id} #{@user.name_was}
        .box-body.table-responsive
          - if @user.errors.present?
            .row
              ul.alert.alert-danger
                - @user.errors.full_messages.each do |message|
                  li #{message}

          .row
            .col-md-2.visible-lg-block.visible-md-block
              img.img-circle src='#{@user.image}' alt="#{@user.name_was}"
            .col-md-10
              div class="form-group #{@user.errors.has_key?(:name) ? 'has-error' : ''}"
                = form.label :name
                = form.text_field :name, class: 'form-control', placeholder: 'Group Name'
              div class="form-group #{@user.errors.has_key?(:email) ? 'has-error' : ''}"
                = form.label :email
                = form.text_field :email, class: 'form-control', placeholder: 'group@example.com'
        .box-footer
          .row
            .col-md-3.col-md-offset-9
              .form-group
                = form.submit 'Update', class: 'btn btn-default btn-block'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
kuroko2-0.8.0 app/views/kuroko2/users/edit.html.slim
kuroko2-0.7.0 app/views/kuroko2/users/edit.html.slim
kuroko2-0.6.0 app/views/kuroko2/users/edit.html.slim
kuroko2-0.5.2 app/views/kuroko2/users/edit.html.slim
kuroko2-0.5.1 app/views/kuroko2/users/edit.html.slim
kuroko2-0.5.0 app/views/kuroko2/users/edit.html.slim
kuroko2-0.4.6 app/views/kuroko2/users/edit.html.slim
kuroko2-0.4.5 app/views/kuroko2/users/edit.html.slim
kuroko2-0.4.4 app/views/kuroko2/users/edit.html.slim
kuroko2-0.4.3 app/views/kuroko2/users/edit.html.slim
kuroko2-0.4.2 app/views/kuroko2/users/edit.html.slim
kuroko2-0.4.1 app/views/kuroko2/users/edit.html.slim
kuroko2-0.4.0 app/views/kuroko2/users/edit.html.slim
kuroko2-0.3.4 app/views/kuroko2/users/edit.html.slim
kuroko2-0.3.3 app/views/kuroko2/users/edit.html.slim
kuroko2-0.3.2 app/views/kuroko2/users/edit.html.slim