Sha256: 5061496c62ac86c13e69f21495ee87d9b3ec918dd8b19c46df61fd5fe29e48f4
Contents?: true
Size: 1.24 KB
Versions: 22
Compression:
Stored size: 1.24 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <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 ui-widget-content"> <ul> <li><%= link_to t('page.back'), :back -%></li> </ul> </div>
Version data entries
22 entries across 22 versions & 1 rubygems