2012-10-24 10:40:38 +00:00
|
|
|
<%= form_for @design, :url => admin_design_path(@design), :html => {:class => 'form-horizontal'}, :remote => true do |f| %>
|
|
|
|
<%= f.error_messages %>
|
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :title, t('admin.title'), :class => "control-label" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.text_field :title %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :author, t('admin.author'), :class => "control-label" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.text_field :author %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<%= f.label :intro, t('admin.intro'), :class => "control-label" %>
|
|
|
|
<div class="controls">
|
|
|
|
<%= f.text_field :intro %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<%= f.submit t('update') %>
|
2011-12-05 01:54:41 +00:00
|
|
|
<% end %>
|
2011-07-12 08:02:41 +00:00
|
|
|
|
|
|
|
|