Sha256: 7b59bd0baffbd0268544123e4ec845d8fbeec8b4aa4be3b5836385a575349246

Contents?: true

Size: 1.38 KB

Versions: 11

Compression:

Stored size: 1.38 KB

Contents

<% breadcrumb.add @model.description, edit_backend_email_template_path(@model) %>
<% breadcrumb.add t('b.edit') %>
<%= render 'backend/breadcrumbs' %>

<%= render 'backend/email_templates/tabs', active: params[:translation_locale].to_sym %>

<%= simple_form_for([:backend, @translation], url: edit_translation_backend_email_template_path) do |f| %>

  <% if @model.vars.present? %>
    <div class="row">
      <div class="col-md-12">
        <div class="card">
          <div class="card-header">
            <%= t 'b.variables' %>
          </div>

          <div class="card-block">
            <%= @model.vars.to_s.html_safe %>
          </div>
        </div>
      </div>
    </div>
  <% end %>

  <div class="row">
    <div class="col-md-12">
      <div class="card">
        <div class="card-header">
          <%= t 'b.content' %>
        </div>

        <div class="card-block">
          <div class="row">
            <div class="col-md-6">
              <%= f.input :subject, as: :string %>
            </div>
          </div>

          <div class="row">
            <div class="col-md-12">
              <%= f.input :html_content, as: :ckeditor %>
              <%= f.input :plain_content, as: :text, input_html: { rows: 10 } %>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

  <%= render 'backend/form_actions', cancel_url: backend_email_templates_path %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
udongo-2.0.4 app/views/backend/email_templates/edit_translation.html.erb
udongo-2.0.3 app/views/backend/email_templates/edit_translation.html.erb
udongo-2.0.2 app/views/backend/email_templates/edit_translation.html.erb
udongo-2.0.1 app/views/backend/email_templates/edit_translation.html.erb
udongo-2.0.0 app/views/backend/email_templates/edit_translation.html.erb
udongo-1.0.4 app/views/backend/email_templates/edit_translation.html.erb
udongo-1.0.3 app/views/backend/email_templates/edit_translation.html.erb
udongo-1.0.2 app/views/backend/email_templates/edit_translation.html.erb
udongo-1.0.1 app/views/backend/email_templates/edit_translation.html.erb
udongo-1.0.0 app/views/backend/email_templates/edit_translation.html.erb
udongo-0.1.0 app/views/backend/email_templates/edit_translation.html.erb