25 lines
725 B
Plaintext
25 lines
725 B
Plaintext
<%= 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') %>
|
|
<% end %>
|
|
|
|
|