Sha256: d1fd06ee599119e109c80afd14f0f27f5f742e1a73c02bc22a730f3f25ad0e89
Contents?: true
Size: 1.06 KB
Versions: 4
Compression:
Stored size: 1.06 KB
Contents
<h2 class="card-title process-title-summary"> <%= t ".title" %> </h2> <%= decidim_form_for @form, url: { action: "create" }, html: { class: "form new_delegation" } do |f| %> <div class="card"> <div class="card-divider"> <h2 class="card-title"><%= t ".form.title" %></h2> </div> <div class="card-section"> <% prompt_options = { url: decidim_admin.users_organization_url, placeholder: t(".select_member") } %> <div class="row column"> <%= f.autocomplete_select(:granter_id, @form.granter, { multiple: false, label: t(".granter") }, prompt_options) do |user| { value: user.id, label: "#{user.name} (@#{user.nickname})" } end %> </div> <div class="row column"> <%= f.autocomplete_select(:grantee_id, @form.grantee, { multiple: false, label: t(".grantee") }, prompt_options) do |user| { value: user.id, label: "#{user.name} (@#{user.nickname})" } end %> </div> </div> </div> <div class="button--double form-general-submit"> <%= f.submit t(".save") %> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems