Sha256: 6df57c03ec7a653d28890dee38b9b79029f35f9def1a89ef8c9d6ff35dfb540a

Contents?: true

Size: 922 Bytes

Versions: 4

Compression:

Stored size: 922 Bytes

Contents

<%= form_for(@translation) do |f| %>
  <% if @translation.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@translation.errors.count, "error") %> prohibited this translation from being saved:</h2>

      <ul>
      <% @translation.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :locale %><br>
    <%= f.text_field :locale %>
  </div>
  <div class="field">
    <%= f.label :key %><br>
    <%= f.text_field :key %>
  </div>
  <div class="field">
    <%= f.label :value %><br>
    <%= f.text_area :value %>
  </div>
  <div class="field">
    <%= f.label :interpolations %><br>
    <%= f.text_field :interpolations %>
  </div>
  <div class="field">
    <%= f.label :is_proc %><br>
    <%= f.check_box :is_proc %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
champollion-0.1.5 app/views/champollion/translations/_form.html.erb
champollion-0.1.2 app/views/champollion/translations/_form.html.erb
champollion-0.1.1 app/views/champollion/translations/_form.html.erb
champollion-0.1.0 app/views/champollion/translations/_form.html.erb