Sha256: f77cb1e6c7f88b808a9e1776428bf3b61bda3e0ceb0bdf79b20b91df635b98af

Contents?: true

Size: 717 Bytes

Versions: 11

Compression:

Stored size: 717 Bytes

Contents

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

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

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

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

    <div class="card-block">
      <%= f.input :title, as: :string %>

      <% content_type = @model.editor_for_content? ? :ckeditor : :text %>
      <%= f.input :content, as: content_type %>
    </div>
  </div>

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

Version data entries

11 entries across 11 versions & 1 rubygems

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