Sha256: cd01101f32389dc67e62d400f29eba4a1e93575caac35a59f887e4529498420c

Contents?: true

Size: 495 Bytes

Versions: 18

Compression:

Stored size: 495 Bytes

Contents

<%= f.label a.keys.first, class: "form-control-label #{required?(f.object, a) ? 'required' : ''}" %>
<%= render 'slash_admin/shared/tooltip', a: a %>
<%= f.select(a.keys.first, ActiveSupport::TimeZone::MAPPING.values,
             { include_blank: true, required: required?(f.object, a) },
             'data-placeholder': t('slash_admin.view.select_model', model_name: @model_class.human_attribute_name(a.keys.first).singularize.downcase),
             class: 'form-control select2-single') %>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
slash_admin-1.5.11 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.10 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.9 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.8 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.7 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.6 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.5 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.4 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.3 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.2 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5.1 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.5 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.4.1 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.4 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.3.5 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.3.4 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.3.3 app/views/slash_admin/custom_fields/_timezone.html.erb
slash_admin-1.3.2 app/views/slash_admin/custom_fields/_timezone.html.erb