Revision 82e47ae0
Added by Amos Benari about 12 years ago
- ID 82e47ae0f86994702c3a084cc6150250a81034ee
app/views/bookmarks/_form.html.erb | ||
---|---|---|
<%= form_for @bookmark do |f| %>
|
||
<%= base_errors_for @bookmark %>
|
||
<%= text_f f, :name, :value => params[:query].to_s.strip.split(/\s|=|!|~|>|</)[0] %>
|
||
<%= textarea_f f, :query, :value => params[:query], :class => "xlarge" , :rows=> '3' %>
|
||
<%= textarea_f f, :query, :value => params[:query], :class => "input-xlarge" , :rows=> '3' %>
|
||
<%= checkbox_f(f, :public, :checked => true) %>
|
||
<%= f.hidden_field :controller, :value => params[:kontroller] %>
|
||
<%= submit_or_cancel f %>
|
Also available in: Unified diff
updates UI to bootstrap v2