Sha256: 8bbf274135c6f5d6d8babb24838fc564937bc2b100289a8ee654d496b30ba350
Contents?: true
Size: 672 Bytes
Versions: 2
Compression:
Stored size: 672 Bytes
Contents
<div class="in_place_editor_wrapper"> <%= content_tag container_tag, h(html_text), content_tag_options %> <% semantic_form_for path_spec_or_object, form_tag_options do |f| %> <% f.inputs do %> <% if input_attributes %> <% input_attributes.each do |attr| %> <%= f.input attr %> <% end %> <% else %> <%= render :partial=>form_partial, :locals=>{:f=>f} %> <% end %> <% end %> <%= f.commit_button :button_html => {:class => 'in_place_save', :style=>"float:left"} %> <input type='button' value='<%= I18n.t('formtastic.actions.cancel', :default=>'Cancel') %>' class='in_place_cancel' /> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jintastic-1.1.0 | generators/jintastic/templates/_in_place_editor.html.erb |
jintastic-1.0.2 | assets/app/views/jintastic/_in_place_editor.html.erb |