Sha256: b4e03308946fd6263663fa03e5e090b1fb4c4b88551bb76016673da224e5b18e

Contents?: true

Size: 1.2 KB

Versions: 7

Compression:

Stored size: 1.2 KB

Contents

<%= append_javascript_pack_tag "decidim_elections" %>
<%= append_stylesheet_pack_tag "decidim_elections" %>

<%= render layout: "layouts/decidim/shared/layout_user_profile" do %>

  <%= cell("decidim/announcement", {
             title: t("not_supported_browser_title", scope: "decidim.elections.trustee_zone.trustees.show"),
             body: t("not_supported_browser_description", scope: "decidim.elections.trustee_zone.trustees.show")
           }, callout_class: "alert", id: "not_supported_browser", hidden: true ) %>

  <%= cell("decidim/announcement", t("trustee_role_description", scope: "decidim.elections.trustee_zone.trustees.show"), callout_class: "success" ) %>

  <div id="trustee_zone" class="election-trustee__container">
    <%# This hidden form must be shared in both partials %>
    <%= decidim_form_for(trustee, html: { hidden: true }) do |f| %>
      <%= f.hidden_field :slug %>
      <%= f.hidden_field :name %>
      <%= f.hidden_field :public_key %>
      <%= f.submit "", id: "submit_identification_public_key" %>
    <% end %>

    <% if trustee.public_key.blank? %>
      <%= render partial: "no_public_keys" %>
    <% else %>
      <%= render partial: "public_keys" %>
    <% end %>
  </div>

<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/elections/trustee_zone/trustees/show.html.erb
decidim-elections-0.28.3 app/views/decidim/elections/trustee_zone/trustees/show.html.erb
decidim-elections-0.28.2 app/views/decidim/elections/trustee_zone/trustees/show.html.erb
decidim-elections-0.28.1 app/views/decidim/elections/trustee_zone/trustees/show.html.erb
decidim-elections-0.28.0 app/views/decidim/elections/trustee_zone/trustees/show.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/elections/trustee_zone/trustees/show.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/elections/trustee_zone/trustees/show.html.erb