Sha256: ae8e3bd78d86fa6df3b4f232261b81ff5ba958820e40a11264b4b3538177efba
Contents?: true
Size: 783 Bytes
Versions: 49
Compression:
Stored size: 783 Bytes
Contents
<%= decidim_form_for(@form, html: { class: "form edit_conference conference_form_admin" }) do |f| %> <%= render partial: "form", object: f %> <div class="button--double form-general-submit"> <%= f.submit t("conferences.edit.update", scope: "decidim.admin"), class: "button" %> <% if allowed_to? :publish, :conference, conference: current_conference %> <% if current_conference.published? %> <%= link_to t("actions.unpublish", scope: "decidim.admin"), conference_publish_path(current_conference), method: :delete, class: "button muted" %> <% else %> <%= link_to t("actions.publish", scope: "decidim.admin"), conference_publish_path(current_conference), method: :post, class: "button hollow" %> <% end %> <% end %> </div> <% end %>
Version data entries
49 entries across 49 versions & 1 rubygems