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

Version Path
decidim-conferences-0.25.0.rc2 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.25.0.rc1 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.24.3 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.23.6 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.24.2 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.23.5 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.24.1 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.24.0 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.24.0.rc2 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.23.4 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.24.0.rc1 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.23.3 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.23.2 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.23.1 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.23.1.rc1 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.23.0 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.22.0 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.21.0 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.20.1 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.20.0 app/views/decidim/conferences/admin/conferences/edit.html.erb