Sha256: 3ebd18f2e15fb2dfe4088e6c9944895b298c67e838e54ef39513bf791d519910

Contents?: true

Size: 668 Bytes

Versions: 9

Compression:

Stored size: 668 Bytes

Contents

<%= decidim_form_for(@form, method: :patch, url: decidim_admin_decidim_awesome.config_path(config_var), html: { class: "awesome-edit-config" }, data: { "safe-path" => decidim_admin_decidim_awesome.config_path(config_var) }) do |f| %>
  <div class="card">
    <div class="card-divider">
      <h2 class="card-title"><%= t(".title", setting: config_var) %></h2>
    </div>
    <div class="card-section">
      <%= render partial: "form_#{config_var}", locals: { form: f, errors: defined?(errors) ? errors : nil } %>
    </div>
  </div>
  <div class="button--double form-general-submit">
    <%= f.submit t(".update") %>
  </div>
<% end %>
<%= render partial: "modal" %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.10.2 app/views/decidim/decidim_awesome/admin/config/show.html.erb
decidim-decidim_awesome-0.10.1 app/views/decidim/decidim_awesome/admin/config/show.html.erb
decidim-decidim_awesome-0.10.0 app/views/decidim/decidim_awesome/admin/config/show.html.erb
decidim-decidim_awesome-0.9.3 app/views/decidim/decidim_awesome/admin/config/show.html.erb
decidim-decidim_awesome-0.9.1 app/views/decidim/decidim_awesome/admin/config/show.html.erb
decidim-decidim_awesome-0.8.3 app/views/decidim/decidim_awesome/admin/config/show.html.erb
decidim-decidim_awesome-0.8.2 app/views/decidim/decidim_awesome/admin/config/show.html.erb
decidim-decidim_awesome-0.8.1 app/views/decidim/decidim_awesome/admin/config/show.html.erb
decidim-decidim_awesome-0.8.0 app/views/decidim/decidim_awesome/admin/config/show.html.erb