Sha256: 6e860b8d2bfc5844e3b50e93329ee6aaeeb93c04edf5193d9198805d303d1743

Contents?: true

Size: 1.22 KB

Versions: 7

Compression:

Stored size: 1.22 KB

Contents

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

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

  <div class="field">
    <%= f.label t('page.title') -%><br />
    <%= f.text_field :title, :class => 'resource_title' -%>
  </div>

  <div class="field">
    <%= f.label :url -%><br />
    <%- if @bookmark.url -%>
      <%= link_to @bookmark.url, @bookmark.url -%>
      <%= f.hidden_field :url, :class => 'resource_url' -%>
    <%- else -%>
      <%= f.url_field :url, :class => 'resource_url' -%>
    <%- end -%>
  </div>

  <div class="field">
    <%= f.label t('page.tag') -%><br />
    <%= f.text_field :tag_list -%>
  </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>
  <%= javascript_tag("$(function(){$('#bookmark_tag_list').focus()})") %>
<%- end -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.back'), :back -%></li>
  </ul>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enju_bookmark-0.1.2.pre14 app/views/bookmarks/new.html.erb
enju_bookmark-0.1.2.pre13 app/views/bookmarks/new.html.erb
enju_bookmark-0.1.2.pre12 app/views/bookmarks/new.html.erb
enju_bookmark-0.1.2.pre11 app/views/bookmarks/new.html.erb
enju_bookmark-0.1.2.pre10 app/views/bookmarks/new.html.erb
enju_bookmark-0.1.2.pre9 app/views/bookmarks/new.html.erb
enju_bookmark-0.1.2.pre8 app/views/bookmarks/new.html.erb