Sha256: 079a7cd7f5febda0097258f64f533b76b0ab6a10a82e7c8b0af82dccf8b9d6d0

Contents?: true

Size: 1.33 KB

Versions: 22

Compression:

Stored size: 1.33 KB

Contents

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

<%= form_for(@bookmark, url: bookmark_path(@bookmark)) do |f| -%>
  <%= f.error_messages -%>

  <div class="field">
    <%= f.label t('page.title') -%><br />
    <%- if @bookmark.manifestation -%>
      <%= link_to @bookmark.manifestation.original_title, @bookmark.manifestation.access_address -%>
    <%- else -%>
      <%= f.text_field :manifestation_id -%>
    <%- end -%>
  </div>

  <div class="field">
    <%= f.label t('activerecord.models.tag') -%><br />
    <%= f.text_field :tag_list, class: 'resource_title' -%>
  </div>

  <div class="field">
    <%= f.label :shared -%>
    <%= f.check_box :shared -%>
  </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 ui-widget-content">
  <ul>
    <li><%= link_to t('page.showing', model: t('activerecord.models.manifestation')), @bookmark.manifestation -%></li>
    <li><%= link_to t('page.show'), @bookmark -%></li>
    <li><%= link_to t('page.back'), bookmarks_path(user_id: @bookmark.user.username) -%></li>
  </ul>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
enju_bookmark-0.3.2 app/views/bookmarks/edit.html.erb
enju_bookmark-0.3.1 app/views/bookmarks/edit.html.erb
enju_bookmark-0.3.0 app/views/bookmarks/edit.html.erb
enju_bookmark-0.3.0.beta.1 app/views/bookmarks/edit.html.erb
enju_bookmark-0.2.2 app/views/bookmarks/edit.html.erb
enju_bookmark-0.2.1 app/views/bookmarks/edit.html.erb
enju_bookmark-0.2.0 app/views/bookmarks/edit.html.erb
enju_bookmark-0.2.0.beta.5 app/views/bookmarks/edit.html.erb
enju_bookmark-0.2.0.beta.3 app/views/bookmarks/edit.html.erb
enju_bookmark-0.2.0.beta.2 app/views/bookmarks/edit.html.erb
enju_bookmark-0.2.0.beta.1 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.3 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.2 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.2.pre23 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.2.pre22 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.2.pre21 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.2.pre20 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.2.pre19 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.2.pre18 app/views/bookmarks/edit.html.erb
enju_bookmark-0.1.2.pre17 app/views/bookmarks/edit.html.erb