Sha256: fd2a3d4d586b5220d5c439718b27fd12be61aa6a63d859c4efc26ef249c0b614
Contents?: true
Size: 689 Bytes
Versions: 11
Compression:
Stored size: 689 Bytes
Contents
<%= semantic_form_for([:admin, @setting]) do |form| %> <%= render "admin/shared/form_buttons", :form => form %> <%= render "admin/shared/form_errors" %> <div class="tabs"> <ul> <li><a href="#tab_main">Main</a></li> </ul> <div id="tab_main"> <%= form.inputs do -%> <%= form.input :name %> <% if !@setting.name.nil? && @setting.name.index("password") %> <%= form.input :value, :as => :password, :input_html => {:value => ""} %> <% else %> <%= form.input :value %> <% end %> <%= form.input :note %> <%- end -%> </div> </div> <%= render "admin/shared/form_buttons", :form => form %> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems