Sha256: 85b4a14fb50b5bdff55515089f1118dc40c21124d47976066fee00dbbb1d377d

Contents?: true

Size: 1.73 KB

Versions: 20

Compression:

Stored size: 1.73 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.purchase_request')) -%></h1>
<div id="content_list">

<%= form_for(@purchase_request) do |f| -%>
  <%= f.error_messages -%>

  <div class="field">
    <%= f.label t('activerecord.models.user') -%><br />
    <%= link_to @purchase_request.user.username, @purchase_request.user -%>
    <%= f.hidden_field :user_id -%>
  </div>

  <div class="field">
    <%= f.label :title -%><br />
    <%= f.text_area :title, :class => 'resource_textarea' -%>
  </div>

  <div class="field">
    <%= f.label :author -%><br />
    <%= f.text_area :author, :class => 'resource_textarea' -%>
  </div>

  <div class="field">
    <%= f.label :publisher -%><br />
    <%= f.text_area :publisher, :class => 'resource_textarea' -%>
  </div>

  <div class="field">
    <%= f.label :isbn -%><br />
    <%= f.text_field :isbn, :class => 'resource_isbn_issn' -%>
  </div>

  <div class="field">
    <%= f.label :pub_date -%><br />
    <%= f.text_field :pub_date -%>
  </div>

  <div class="field">
    <%= f.label :price -%><br />
    <%= f.text_field :price, :class => 'resource_integer' -%>
  </div>

  <div class="field">
    <%= f.label :url -%><br />
    <%= f.url_field :url, :class => 'resource_url' -%>
  </div>

  <div class="field">
    <%= f.label :note -%><br />
    <%= f.text_area :note, :class => 'resource_textarea' -%>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<%- end -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.show'), @purchase_request -%></li>
    <li><%= link_to t('page.back'), user_purchase_requests_path(@purchase_request.user, :page => flash[:page] ||= nil) -%></li>
  </ul>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
enju_purchase_request-0.1.0.pre9 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.1.0.pre8 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.1.0.pre7 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.1.0.pre6 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.1.0.pre5 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.1.0.pre4 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.1.0.pre3 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.1.0.pre2 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.1.0.pre app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.14 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.13 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.12 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.10 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.9 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.8 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.7 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.6 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.5 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.4 app/views/purchase_requests/edit.html.erb
enju_purchase_request-0.0.3 app/views/purchase_requests/edit.html.erb