This repository has been archived on 2024-03-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
orbit-4-1/app/views/admin/links/_new.html.erb
T
chris 856898016b New UI changes(tags, categories, authorisations, module index…)
To run:
  - ruby lib/remove_old_tags.rb DB_NAME
  - rake new_ui:migrate_tags
  - rake new_ui:migrate_categories['APP_KEY,''MODEL_NAME'] (check new_ui.rake for more details)
2013-07-02 16:46:44 +08:00

10 lines
408 B
ERB

<%= form_for @item, url: admin_links_path, remote: true do |f| %>
<fieldset>
<legend><%= t('new.link') %></legend>
<%= render :partial => "form", :locals => { :f => f } %>
<div class="form-actions">
<a href="javascript:$.pageslide.close()" class="btn btn-small"><%= t(:cancel) %></a>
<%= f.submit t(:create_), class: 'btn btn-primary btn-small' %>
</div>
</fieldset>
<% end %>