Sha256: ecb84cc28cb937dff70f884199615bebd48012614e7a02df27faac01f2756b39

Contents?: true

Size: 860 Bytes

Versions: 9

Compression:

Stored size: 860 Bytes

Contents

<% add_decidim_page_title(translated_attribute(current_conference.title)) %>
<%= 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

9 entries across 9 versions & 1 rubygems

Version Path
decidim-conferences-0.27.9 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.27.8 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.27.7 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.27.6 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.26.10 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.26.9 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.27.5 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.26.8 app/views/decidim/conferences/admin/conferences/edit.html.erb
decidim-conferences-0.27.4 app/views/decidim/conferences/admin/conferences/edit.html.erb