Sha256: ce2c5a501918452cecea759e3f2167a04ac7d75e6beb5111c8d461c827fa04ac
Contents?: true
Size: 800 Bytes
Versions: 2
Compression:
Stored size: 800 Bytes
Contents
<%= form_for [@localization_key, @localization], :html=>{:remote=>true} do |f| %> <%= f.label :translated_value %> <% if @localization.translated_value.is_a?(Array) %> <ul style="list-style: none;"> <% @localization.translated_value.each do |l| %> <li><%= text_field_tag 'localization[translated_value][]', l, :class=>"input-xlarge" %></li> <% end %> </ul> <% else %> <%= f.text_area :translated_value, :size=>"40x2", :class=>"input-xxlarge" %> <br /> <label> <input type="checkbox" class="wysiwyg_switch" /> use wysiwyg editor </label> <% end %> <button class="btn" type="submit"><%= t('lit.common.update', :default=>"Update") %></button> <button class="btn cancel"><%= t('lit.common.cancel', :default=>'Cancel') %></button> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lit-0.2.1 | app/views/lit/localizations/_form.html.erb |
lit-0.2.0 | app/views/lit/localizations/_form.html.erb |