Sha256: fe604e8a1c00d6275f56a9546aa62366a2013036afd721c342ee048d4d23d046

Contents?: true

Size: 989 Bytes

Versions: 5

Compression:

Stored size: 989 Bytes

Contents

<%= 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 :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>

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
decidim-system-0.17.2 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.17.1 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.16.1 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.17.0 app/views/decidim/system/organizations/edit.html.erb
decidim-system-0.16.0 app/views/decidim/system/organizations/edit.html.erb