mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 11:38:49 +01:00
28 lines
No EOL
1 KiB
Text
28 lines
No EOL
1 KiB
Text
<div id="context_new_container">
|
|
|
|
<div id="toggle_context_new" class="hide_form">
|
|
<a title="<%= t('contexts.hide_form_link_title') %>" accesskey="n">« <%= t('contexts.hide_form') %></a>
|
|
</div>
|
|
|
|
<div id="context_new" class="context_new" style="display:block">
|
|
<% form_for(@new_context, :html => {:id => 'context-form',:name=>'context',:class => "inline-form", :method => :post }) do -%>
|
|
|
|
<div id="error_status"><%= error_messages_for('context') %></div>
|
|
|
|
<label for="context_name"><%= t 'contexts.context_name' %></label><br />
|
|
<%= text_field( "context", "name" ) %><br />
|
|
|
|
<label for="context_hide"><%= t 'contexts.context_hide' %></label>
|
|
<%= check_box( "context", "hide" ) %><br />
|
|
|
|
<div class="submit_box">
|
|
<div class="widgets">
|
|
<button type="submit" class="positive" id="context_new_submit">
|
|
<%= image_tag("accept.png", :alt => "") + 'Add Context' %>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<br/><br/>
|
|
<% end -%>
|
|
</div>
|
|
</div> |