Sha256: e0b0a4071bd199dda2f4ffdef1c84ae4585320d0ae144c995ff4e9bc99c5c0d0

Contents?: true

Size: 1.29 KB

Versions: 7

Compression:

Stored size: 1.29 KB

Contents

<% add_decidim_page_title(t(".title")) %>

<% provide :title do %>
  <h1 class="h1"><%= t ".title" %></h1>
<% end %>

<%= decidim_form_for(@form) do |f| %>
  <div class="field">
    <%= f.text_field :name, autofocus: true %>
  </div>

  <div class="field">
    <%= f.text_field :host %>
  </div>

  <div class="field">
    <%= f.text_area :secondary_hosts %>
    <p class="help-text"><%= t(".secondary_hosts_hint") %></p>
  </div>

  <div class="field">
    <%= f.label :force_authentication %>
    <%= f.check_box :force_users_to_authenticate_before_access_organization %>
  </div>

  <div class="field">
    <%= f.label :users_registration_mode %>
    <%= f.collection_radio_buttons :users_registration_mode,
                                   Decidim::Organization.users_registration_modes,
                                   :first,
                                   ->(mode) { t("decidim.system.organizations.users_registration_mode.#{mode.first}") } %>
  </div>

  <div class="field">
    <%= f.label :available_authorizations %>
    <%= f.collection_check_boxes :available_authorizations, Decidim.authorization_workflows, :name, :description %>
  </div>

  <%= render partial: "advanced_settings", locals: { f: f } %>

  <div class="actions">
    <%= f.submit t("decidim.system.actions.save") %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-system-0.27.9 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.27.8 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.27.7 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.27.6 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.26.10 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.26.9 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.27.5 app/views/decidim/system/organizations/edit.html.erb