Sha256: d96a98cc3079264569ac0bbc6db5e717aa9916caef76145658f526b36198a709

Contents?: true

Size: 1.52 KB

Versions: 34

Compression:

Stored size: 1.52 KB

Contents

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

<%= form_for(@subscribe) do |f| -%>
  <%= f.error_messages -%>
  <div class="field">
    <%= f.label t('activerecord.models.subscription') -%><br />
    <%- if @subscription -%>
      <%= link_to @subscription.title, @subscription -%>
      <%= f.hidden_field :subscription_id, :value => @subscription.id -%>
    <%- else -%>
      <%= f.text_field :subscription_id, :value => params[:subscription_id] -%>
    <%- end -%>
  </div>

  <div class="field">
    <%= f.label t('activerecord.models.work') -%><br />
    <%- if @work -%>
      <%= link_to @work.original_title, @work -%>
      <%= f.hidden_field :work_id, :value => @work.id -%>
    <%- else -%>
      <%= f.text_field :work_id, :value => params[:work_id] -%>
    <%- end -%>
  </div>
  <div class="field">
    <%= f.label :start_at -%><br />
    <%= f.text_field :start_at, :class => 'date_field' -%>
  </div>
  <div class="field">
    <%= f.label :end_at -%><br />
    <%= f.text_field :start_at, :class => 'date_field' -%>
  </div>

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

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('activerecord.models.subscription'), subscription_path(@subscription) if @subscription -%>
    <li><%= link_to t('page.listing', :model => t('activerecord.models.work')), subscription_works_path(@subscription) if @subscription -%>
  </ul>
</div>

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
enju_library-0.1.0.pre32 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre31 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre30 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre29 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre28 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre27 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre26 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre25 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre24 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre23 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre22 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre21 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre20 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre19 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre18 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre17 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre16 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre15 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre14 app/views/subscribes/new.html.erb
enju_library-0.1.0.pre13 app/views/subscribes/new.html.erb