Sha256: ee606b756ba15f5788b7840d45fc6449f2bd18049af4a4f97c400ff8bc6482b1

Contents?: true

Size: 1.98 KB

Versions: 10

Compression:

Stored size: 1.98 KB

Contents

<%= javascript_include_tag "decidim/slug_form" %>

<div class="card">
  <div class="card-divider">
    <h2 class="card-title"><%= t ".homepage_appearance_title" %></h2>
  </div>
  <div class="card-section">
    <div class="row column">
      <%= form.check_box :show_statistics %>
    </div>

    <div class="row column">
      <%= form.translated :editor, :description %>
    </div>

    <div class="row column">
      <%= form.translated :text_area, :welcome_text %>
    </div>

    <div class="row">
      <div class="columns xlarge-6">
        <%= form.upload :homepage_image %>
      </div>
    </div>

    <div class="row">
      <div class="columns xlarge-6 slug">
        <%= form.text_field :cta_button_path %>
        <p class="help-text"><%== t(".cta_button_path_help", url: decidim_form_slug_url("", form.object.cta_button_path)) %></p>
      </div>

      <div class="columns xlarge-6">
        <%= form.translated :text_field, :cta_button_text %>
        <p class="help-text"><%= t(".cta_button_text_help") %></p>
      </div>
    </div>
  </div>
</div>

<div class="card">
  <div class="card-divider">
    <h2 class="card-title"><%= t ".layout_appearance_title" %></h2>
  </div>
  <div class="card-section">
    <div class="row">
      <div class="columns xlarge-6">
        <%= form.upload :logo %>
      </div>

      <div class="columns xlarge-6">
        <%= form.upload :favicon %>
      </div>
    </div>

    <div class="row">
      <div class="columns xlarge-6">
        <%= form.upload :official_img_header %>
      </div>

      <div class="columns xlarge-6">
        <%= form.upload :official_img_footer %>
      </div>
    </div>

    <div class="row">
      <div class="columns xlarge-6">
        <%= form.text_field :official_url %>
      </div>
    </div>

    <% if Decidim.enable_html_header_snippets %>
      <div class="row column">
        <%= form.text_area :header_snippets %>
        <p class="help-text"><%= t(".header_snippets_help") %></p>
      </div>
    <% end %>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-admin-0.8.4 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.8.3 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.8.2 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.8.1 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.8.0 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.7.4 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.7.3 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.7.2 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.7.1 app/views/decidim/admin/organization_appearance/_form.html.erb
decidim-admin-0.7.0 app/views/decidim/admin/organization_appearance/_form.html.erb