Sha256: eb31555cbc260f2efc76454f7e9a8c30142521e6ec8c1c9c0d9e65f28c51b026
Contents?: true
Size: 1.38 KB
Versions: 3
Compression:
Stored size: 1.38 KB
Contents
.comable-page .comable-main-fixed-top .comable-page-heading ul.pull-right.list-inline li = link_to_save h1.page-header ol.breadcrumb li> = link_to Comable.t('admin.nav.user'), comable.admin_users_path li> = link_to @user.human_id, comable.admin_user_path(@user) li.active = Comable.t('admin.actions.edit') .comable-page-body section = error_messages_for @user = form_for @user, url: comable.admin_user_path(@user) do |f| .hidden = f.submit fieldset .col-md-3 legend = Comable.t('admin.general') .help-block .col-md-9 .form-group = f.label :role = f.select :role, @user.class.role.options, {}, disabled: (@user == current_comable_user) .form-group = f.label :email = f.text_field :email .form-group = f.label :password = f.password_field :password - if @user.bill_address fieldset .col-md-3 legend = f.object.class.human_attribute_name(:bill_address) .help-block .col-md-9 = f.fields_for :bill_address do |ff| = render 'comable/admin/shared/address_form', f: ff
Version data entries
3 entries across 3 versions & 1 rubygems