Sha256: 6cb6089de582f5e6c5e997104a3118fa7c435e6d7a5d40f9a1ecf68589d5b595

Contents?: true

Size: 1.93 KB

Versions: 12

Compression:

Stored size: 1.93 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title"><%= t ".layout_appearance_title" %></h2>
  </div>

  <div class="card-section">
    <div class="minimap">
      <label for="minimap"><%= t(".preview") %></label>
      <%= render "decidim/admin/organization_appearance/form/minimap" %>
    </div>

    <div class="organization-images">
      <div class="preview">
        <%= form.upload(
              :favicon,
              dimensions_info: current_organization.attached_uploader(:favicon).dimensions_info,
              extension_allowlist: current_organization.attached_uploader(:favicon).extension_allowlist,
              help_i18n_scope: "decidim.forms.file_help.icon"
            ) %>
      </div>

      <div class="preview">
        <%= form.upload(
              :logo,
              dimensions_info: current_organization.attached_uploader(:logo).dimensions_info,
              extension_allowlist: current_organization.attached_uploader(:logo).extension_allowlist
            ) %>
      </div>

      <div class="preview">
        <%= form.upload(
              :official_img_header,
              dimensions_info: current_organization.attached_uploader(:official_img_header).dimensions_info,
              extension_allowlist: current_organization.attached_uploader(:official_img_header).extension_allowlist
            ) %>
      </div>

      <div class="preview">
        <%= form.upload(
              :official_img_footer,
              dimensions_info: current_organization.attached_uploader(:official_img_footer).dimensions_info,
              extension_allowlist: current_organization.attached_uploader(:official_img_footer).extension_allowlist
            ) %>
      </div>
    </div>
  </div>

  <div class="card-section">
    <div class="row" style="display: grid; grid-template-columns: 1fr 1fr;">
      <div class="preview-official_url">
        <%= form.text_field :official_url %>
      </div>
    </div>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-admin-0.27.9 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.8 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.7 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.6 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.5 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.4 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.3 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.2 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.1 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.0 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.0.rc2 app/views/decidim/admin/organization_appearance/form/_images.html.erb
decidim-admin-0.27.0.rc1 app/views/decidim/admin/organization_appearance/form/_images.html.erb