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

<%= simple_form_for [:backend, @model] do |f| %>
  <ul class="tabs">
    <li class="tab-title active">
      <%= link_to t('b.general'), '#' %>
    </li>
    <% Udongo.config.locales.each do |locale| %>
      <li class="tab-title"><%= link_to locale.upcase, edit_translation_backend_snippet_path(@model, locale) %></li>
    <% end %>
  </ul>

  <div class="tabs-content">
    <fieldset class="radius">
      <legend><%= t 'b.general' %></legend>
      <%= f.input :description, as: :string %>
    </fieldset>
  </div>

  <%= render 'backend/form_actions', cancel_url: backend_snippets_path %>
<% end %><commit_msg>Add the email template edit action.<commit_after><% breadcrumb.add @model.description, edit_backend_email_template_path(@model) %>
<% breadcrumb.add t('b.edit'), edit_backend_email_template_path(@model) %>
<%= render 'backend/breadcrumbs' %>

<%= simple_form_for [:backend, @model] do |f| %>
  <ul class="tabs">
    <li class="tab-title active">
      <%= link_to t('b.general'), '#' %>
    </li>
    <% Udongo.config.locales.each do |locale| %>
      <li class="tab-title"><%= link_to locale.upcase, edit_translation_backend_email_template_path(@model, locale) %></li>
    <% end %>
  </ul>

  <div class="tabs-content">
    <fieldset class="radius">
      <legend><%= t 'b.general' %></legend>
      <%= f.input :identifier %>
      <%= f.input :description, as: :string %>
      <%= f.input :from_name %>
      <%= f.input :from_email %>
    </fieldset>
  </div>

  <%= render 'backend/form_actions', cancel_url: backend_email_templates_path %>
<% end %>
{'fraction_non_alphanumeric': 0.20045300113250283, 'fraction_numerical': 0.0, 'mean_word_length': 4.048571428571429, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 54, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6880549', 'n_tokens_mistral': 666, 'n_tokens_neox': 611, 'n_words': 117}